Merge "Fix requires_floating_ip"

This commit is contained in:
Jenkins 2017-09-19 16:41:02 +00:00 committed by Gerrit Code Review
commit 15834d7620
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ class CloudConfig(object):
"""
if self.config['floating_ip_source'] == "None":
return False
return self.config['requires_floating_ip']
return self.config.get('requires_floating_ip')
def get_external_networks(self):
"""Get list of network names for external networks."""