diff options
author | John T Skarbek <jtslear@gmail.com> | 2015-09-05 00:27:05 -0400 |
---|---|---|
committer | John T Skarbek <jtslear@gmail.com> | 2015-09-05 00:27:05 -0400 |
commit | 6182c9cec262414a6339ad89ae7b85d9636c2e39 (patch) | |
tree | b40e6d9ed377dee2aa04543f61075929c877c20d | |
parent | 318ac6b9b65f42f032382114f35d3c9fa7f5610b (diff) | |
download | openshift-6182c9cec262414a6339ad89ae7b85d9636c2e39.tar.gz openshift-6182c9cec262414a6339ad89ae7b85d9636c2e39.tar.bz2 openshift-6182c9cec262414a6339ad89ae7b85d9636c2e39.tar.xz openshift-6182c9cec262414a6339ad89ae7b85d9636c2e39.zip |
Fix a minor bug involving AWS ENV Keys
* If a user forgot to set their AWS keys, we'd get a non descriptive error about a variable not being set
* This patch uses the correct variable so the error message is more informative
-rwxr-xr-x | bin/cluster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cluster b/bin/cluster index 486bf2a48..a19434e21 100755 --- a/bin/cluster +++ b/bin/cluster @@ -164,7 +164,7 @@ class Cluster(object): boto_configs = [conf for conf in boto_conf_files if conf_exists(conf)] if len(key_missing) > 0 and len(boto_configs) == 0: - raise ValueError("PROVIDER aws requires {} environment variable(s). See README_AWS.md".format(missing)) + raise ValueError("PROVIDER aws requires {} environment variable(s). See README_AWS.md".format(key_missing)) elif 'libvirt' == provider: inventory = '-i inventory/libvirt/hosts' |