Fix error logger for floatingip deletion
Currently the logger tries to access fip['floatingip']['id'] instead of unicode fip causing a typerror traceback. This patch fixes the log message. Change-Id: Iadf57d5b5648609d7c1d5b270e20c6fadc25abdc
This commit is contained in:
parent
b52e7317dd
commit
010c165d77
|
@ -74,7 +74,7 @@ def delete_floating_ip(neutron_client, fip):
|
|||
except Exception:
|
||||
time.sleep(1)
|
||||
|
||||
LOG.error('Failed while deleting floating IP %s.' % fip['floatingip']['id'])
|
||||
LOG.error('Failed while deleting floating IP %s.' % fip)
|
||||
return False
|
||||
|
||||
def find_external_network(neutron_client):
|
||||
|
|
Loading…
Reference in New Issue