dtk_crd_parser 0.0.130 → 0.0.131

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8598ba7681991b565a1eacf9c7b58b48b2300fe4
4
- data.tar.gz: a5c95f2f80d241d828e1278be0ce8eaf46cb7d16
3
+ metadata.gz: 9ef3173237fce7df49533629d8ddfd619469a83a
4
+ data.tar.gz: 9c23e67dadb300f050d5231c44019064bad31715
5
5
  SHA512:
6
- metadata.gz: 2dcc921f022078edd8b05256679e9dc47f492ab3bc72037247093935aaa0224b6f23068999c8f6d4bfb827fa930daeafa68919e518196f2cc029c6b3de729931
7
- data.tar.gz: e46fd67d0c71a719e7bf80834084d694d468d0ebc351fa468b3eba8e6b520ffe6ab4414496a4f525f5eca0a2141330daac9bccacd186f01d6e2901921c9ed797
6
+ metadata.gz: bd3f16364cc3d802f6889f7755caf5dc836c95c9862dc1f1acaadc9da21f7cfe7f7d767c9b3eb8a5fc6bf9f26652cbaca5a909f71fdd069d92a1f255637670b9
7
+ data.tar.gz: bcd3fffa66af809f6542570c5b6ce44b8b37b12581a5299edf32855bc3dfdfe540e5d4d34326e919ea75eeb834140884a1e0d894e42eb491be49e33e76a86687
@@ -16,7 +16,7 @@ module DTK::CrdParser
16
16
 
17
17
  def self.create_from_kube(client, component_instance, component_name)
18
18
  component_instance_obj = client.get_component(component_instance[:name], component_instance[:namespace])
19
- component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name.gsub('_', '-'))
19
+ component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name)
20
20
  component_attributes = getComponentAttributes(component_name, component_instance_obj[:spec][:components])
21
21
  attributes = []
22
22
  if component_attributes
@@ -52,7 +52,7 @@ module DTK::CrdParser
52
52
 
53
53
  def self.resolveModuleReference(module_refs, component_full_name, module_name)
54
54
  raise "There are no module refs for component #{component_full_name} in component instance." if module_refs.nil?
55
- module_ref = module_refs.find { |module_ref| module_ref[:name].gsub!('_', '-') == module_name.gsub!('_', '-') }
55
+ module_ref = module_refs.find { |module_ref| module_ref[:name] == module_name }
56
56
  if(module_ref.nil?)
57
57
  raise "Could not resolve module reference for component #{component_full_name} in component instance. Expected to find: #{module_name}"
58
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk_crd_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.130
4
+ version: 0.0.131
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK