Rename a confusing variable

I had to read the two lines in question twice. That might just make me
dumb, but if I'm dumb, someone else might be too.
reviewable/pr18780/r1
Monty Taylor 8 years ago
parent 6b20645b40
commit 0e8ce4ad52
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

@ -165,8 +165,8 @@ def main():
if state == 'present':
# If f_ip already assigned to server, check that it matches
# requirements.
f_ip = cloud.get_server_public_ip(server)
f_ip = _get_floating_ip(cloud, f_ip) if f_ip else f_ip
public_ip = cloud.get_server_public_ip(server)
f_ip = _get_floating_ip(cloud, public_ip) if public_ip else public_ip
if f_ip:
if network:
network_id = cloud.get_network(name_or_id=network)["id"]

Loading…
Cancel
Save