summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJohn T Skarbek <jtslear@gmail.com>2015-09-05 00:27:05 -0400
committerJohn T Skarbek <jtslear@gmail.com>2015-09-05 00:27:05 -0400
commit6182c9cec262414a6339ad89ae7b85d9636c2e39 (patch)
treeb40e6d9ed377dee2aa04543f61075929c877c20d /bin
parent318ac6b9b65f42f032382114f35d3c9fa7f5610b (diff)
downloadopenshift-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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cluster2
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'