dtk_crd_parser 0.0.63 → 0.0.64

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crd_parser/component.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b4ed6ccca2eca08f5e699373085afa77ae21c8c
4
- data.tar.gz: 46bdff15fecad26d1af18bf104361f4a9fe52437
3
+ metadata.gz: eae06c10e8810885d39f6f93a6b39298202bb58e
4
+ data.tar.gz: e8e4ecb9d2b3a299da40ed912e2557ec5ad0b15d
5
5
  SHA512:
6
- metadata.gz: 5b43ba55a4e576fa4637e157a9e7a8f6965a84abc3f9f6be2bfdf0f4834226ffb02174f993c279199cdcdaedcf09f69ff499ae09cc56d9cd0b1451dfbd0c1063
7
- data.tar.gz: dd4df54f6381d6188046f5e8f55b298d0d225b27d916e522ea5a249b1df07aa814fb7f2d04d28ec5df0f1ee952e78d66b94dd1a10285ba39f6666b877e96d20c
6
+ metadata.gz: f0e18915b985751b2fb9b03430730bd08e85e175beb0ca3d1d2dbf75adfdbd4c8dc1fdccc2513aa6944236ead91dc99397f497f58f0d42da7097c89884e5e06c
7
+ data.tar.gz: b8213f054d96793d2af765b45fd057e41df364cec407c10d7874a39ac2431e25ef7009fd7c112503ab1979c4eeea52ecabbcba3bff0854271a18112a74c08804
@@ -13,6 +13,7 @@ module DTK::CrdParser
13
13
  end
14
14
 
15
15
  def self.create_from_kube(client, component_instance, component_name)
16
+ component_name.gsub!('_', '-')
16
17
  component_instance_obj = client.get_component(component_instance[:name], component_instance[:namespace])
17
18
  component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name)
18
19
  component_attributes = getComponentAttributes(component_name, component_instance_obj[:spec][:components])
@@ -27,7 +28,6 @@ module DTK::CrdParser
27
28
  protected
28
29
 
29
30
  def self.getComponentAttributes(fullComponentName, components)
30
- fullComponentName.gsub!('_', '-')
31
31
  component = components.each do |component|
32
32
  componentObj = component[fullComponentName]
33
33
  if(componentObj && componentObj.is_a?(Kubeclient::Resource))
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.63
4
+ version: 0.0.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK