as-combined-metrics 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/as-combined-metrics.rb +1 -1
- data/lib/as-combined-metrics/cloudformation.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48bfc3f7a906e38a5b354666511c982324670843
|
4
|
+
data.tar.gz: 6cbd8e81cdb7b0c75d09da5f76009bb6c5287fbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 706eeb6c9196cc470e104d48931307690d0a912cbe24cc8e46ef1e975e29b6f2532f364d99aebc95469ae1c04bf07e4a8f13fa6ee5ef18af10cf8e0eae3a1b1f
|
7
|
+
data.tar.gz: de693a994d70bce3e905a8410fa30452ccece845d1cb69e0b29e90993fcafcf8cb92c6ba9f334136c73cc661e2bd334d8ab3d3d2be3da31c8686b5a75932ec15
|
data/lib/as-combined-metrics.rb
CHANGED
@@ -16,7 +16,7 @@ module AsCombinedMetrics::Cli::CloudFormation
|
|
16
16
|
|
17
17
|
if !stack_info.nil?
|
18
18
|
@autoscale_group_name = stack_info.stack_resource_detail.physical_resource_id
|
19
|
-
if !@autoscale_group_name.
|
19
|
+
if !@autoscale_group_name.nil? && !@autoscale_group_name.empty?
|
20
20
|
@config[:autoscale_group_name] ||= []
|
21
21
|
@config[:autoscale_group_name] << @autoscale_group_name
|
22
22
|
File.open(options[:config_file], "w") { |f| f.write(@config.to_yaml) }
|