idlc-sdk-deploy 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/idlc-sdk-deploy/config.rb +3 -3
- data/lib/idlc-sdk-deploy/version.rb +1 -1
- 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: 4b5f9aca10867a6b5789b57c82e3bb479782fce0245eedeb8f6b7a6967db04d0
|
4
|
+
data.tar.gz: e70cda5dfa06d83cc869f3a6e3d99cd2fcfa83a070d190652e42982ab9e66f45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f91637b62731db31e4be48ae798641ef3507229e6f0a9ef8ac7785d36577ad546754a7704686bb0f1907426d39933e70e0e55151e70f1f1f4ad40576776c8603
|
7
|
+
data.tar.gz: b382ce0c09a779a170611e47314c23c85e967d652c42b735758bc2c271145df9d7d25be1d5b698bec6ef391fc8ad6c25979e4e6307b8ea7d5e062695d259f221
|
@@ -31,11 +31,11 @@ module Idlc
|
|
31
31
|
# Get the current instance id from the instance metadata.
|
32
32
|
instance = get_instance
|
33
33
|
|
34
|
-
#
|
34
|
+
# return environment metadata
|
35
|
+
metadata = get_env_metadata(instance['tags']['environment_key'])
|
35
36
|
metadata['hostname'] = set_hostname(instance)
|
36
37
|
|
37
|
-
|
38
|
-
get_env_metadata(instance['tags']['environment_key'])
|
38
|
+
metadata
|
39
39
|
end
|
40
40
|
|
41
41
|
def get_env_metadata(env_key)
|