dtk_crd_parser 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crd_parser/component.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fd752de0c179287773c6096f4cf771eda2d6b6ddcdc41489e44e8c039852576
|
4
|
+
data.tar.gz: 5c322b20904b4ec6b5bfc4db684efd7be384982018051575e7bf5c831a8d3608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 493934f54bb889e46a4ed6a6b198b8cb9acba2fc91fd6448787c027127414b3e0d6d4a37a0fa1380c7cd4db7269acde4168302dddae2cbebe5e7c7c256a59d78
|
7
|
+
data.tar.gz: 35da808c078b7018780672f04fdf3ad0d6754d23359edee21d55130d6a59125b5e10f4e30d867e5712e66ef7ca55f3f9c89a46c8ebc66f8e3c7bbc9fa1bde32e
|
data/lib/crd_parser/component.rb
CHANGED
@@ -14,9 +14,9 @@ module DTK::CrdParser
|
|
14
14
|
component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name)
|
15
15
|
component_attributes = getComponentAttributes(component_name, component_instance_obj[:spec][:components])
|
16
16
|
Logger.new('/proc/1/fd/1').info "COMPONENT ATTRIBUTES"
|
17
|
-
Logger.new('/proc/1/fd/1').info component_attributes.
|
17
|
+
Logger.new('/proc/1/fd/1').info component_attributes.to_hash
|
18
18
|
attributes = []
|
19
|
-
component_attributes.each do |attribute_name, attribute_value|
|
19
|
+
component_attributes.to_hash.each do |attribute_name, attribute_value|
|
20
20
|
Logger.new('/proc/1/fd/1').info "ATTRIBUTE"
|
21
21
|
Logger.new('/proc/1/fd/1').info attribute_name
|
22
22
|
attributes.push Attribute.create_from_kube(attribute_name, attribute_value)
|