lib/cloudstack-cli/base.rb in cloudstack-cli-1.5.2 vs lib/cloudstack-cli/base.rb in cloudstack-cli-1.5.3

- old
+ new

@@ -70,11 +70,11 @@ exit 1 end end unless config.key?(:url) && config.key?(:api_key) && config.key?(:secret_key) - say "The environment #{env || '\'-\''} contains no valid data.", :red + say "The environment #{env || '\'-\''} does not contain all required keys.", :red say "Please check with 'cloudstack-cli environment list' and set a valid default environment." exit 1 end config end @@ -132,7 +132,8 @@ say e.message exit 1 end end end - end -end + + end # class +end # module