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.
pull/18777/head
Monty Taylor 8 years ago committed by Matt Clay
parent 4fad93561a
commit f441e2c1a9

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

Loading…
Cancel
Save