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:
Sai Sindhur Malleni 2016-06-28 12:15:53 -04:00
parent b52e7317dd
commit 010c165d77
1 changed files with 1 additions and 1 deletions

View File

@ -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):