tacker/vm/monitor.py: log format error

Change-Id: I429a312092452e1a9b89d6c99e2d41f47e09d135
This commit is contained in:
Isaku Yamahata 2015-05-12 15:52:34 -07:00
parent 85273fb573
commit cc7f5ef6f3

View File

@ -121,8 +121,7 @@ class DeviceStatus(object):
self._hosting_devices[new_device['id']] = new_device self._hosting_devices[new_device['id']] = new_device
def delete_hosting_device(self, device_id): def delete_hosting_device(self, device_id):
LOG.debug('deleting device_id %(device_id)s, Mgmt IP %(ip)s', LOG.debug('deleting device_id %(device_id)s', {'device_id': device_id})
{'device_id': device_id})
with self._lock: with self._lock:
hosting_device = self._hosting_devices.pop(device_id, None) hosting_device = self._hosting_devices.pop(device_id, None)
if hosting_device: if hosting_device: