summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/aws_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aws_helper.rb b/lib/aws_helper.rb
index 2e90ba148..4da5d0925 100644
--- a/lib/aws_helper.rb
+++ b/lib/aws_helper.rb
@@ -19,7 +19,7 @@ module OpenShift
retval = []
hosts['_meta']['hostvars'].each do |host, info|
retval << OpenStruct.new({
- :name => info['ec2_tag_Name'],
+ :name => info['ec2_tag_Name'] || 'UNSET',
:env => info['ec2_tag_environment'] || 'UNSET',
:public_ip => info['ec2_ip_address'],
:public_dns => info['ec2_public_dns_name'],