Skip to content

Commit eee4366

Browse files
authored
terraform: use floating_ip_address instead of name in cleanup script (osism#2444)
Signed-off-by: Christian Berendt <[email protected]>
1 parent ff2d3b4 commit eee4366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/scripts/cleanup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def cleanup_floating_ips(conn, prefix):
183183
# Do not delete if it's attached (above filter does not work)
184184
if floating_ip.fixed_ip_address:
185185
continue
186-
logging.info(floating_ip.name)
186+
logging.info(floating_ip.floating_ip_address)
187187
conn.delete_floating_ip(floating_ip.id)
188188

189189

0 commit comments

Comments
 (0)