diff options
author | Matt Woodson <mwoodson@redhat.com> | 2016-03-01 14:43:12 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@redhat.com> | 2016-03-01 14:43:12 -0500 |
commit | d4ac3457b1207ee0ec0d496f653860c9c36b5aa0 (patch) | |
tree | 762659fdfa551f2265e7d1ed402652d80292a920 /bin | |
parent | 5335c1660445b8128932c484f8667f966f95f34b (diff) | |
download | openshift-d4ac3457b1207ee0ec0d496f653860c9c36b5aa0.tar.gz openshift-d4ac3457b1207ee0ec0d496f653860c9c36b5aa0.tar.bz2 openshift-d4ac3457b1207ee0ec0d496f653860c9c36b5aa0.tar.xz openshift-d4ac3457b1207ee0ec0d496f653860c9c36b5aa0.zip |
fixed error in awsutil.py
Diffstat (limited to 'bin')
-rw-r--r-- | bin/openshift_ansible/awsutil.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/openshift_ansible/awsutil.py b/bin/openshift_ansible/awsutil.py index d46af3d66..eba11e851 100644 --- a/bin/openshift_ansible/awsutil.py +++ b/bin/openshift_ansible/awsutil.py @@ -31,17 +31,16 @@ class AwsUtil(object): host_type_aliases -- a list of aliases to common host-types (e.g. ex-node) """ + self.alias_lookup = {} host_type_aliases = host_type_aliases or {} self.host_type_aliases = host_type_aliases self.file_path = os.path.join(os.path.dirname(os.path.realpath(__file__))) self.setup_host_type_alias_lookup() - self.alias_lookup = None def setup_host_type_alias_lookup(self): """Sets up the alias to host-type lookup table.""" - self.alias_lookup = {} for key, values in self.host_type_aliases.iteritems(): for value in values: self.alias_lookup[value] = key |