Fix log statement to log correct variable first_ip

Change-Id: I75b8caad184d8fde535689000fbe11ac188c8b77
This commit is contained in:
Aaron Rosen 2015-09-16 18:34:37 -07:00
parent 2195501e97
commit e71e79fed3

View File

@ -75,7 +75,7 @@ class IpamNonPluggableBackend(ipam_backend_mixin.IpamBackendMixin):
LOG.debug("Allocated IP - %(ip_address)s from %(first_ip)s "
"to %(last_ip)s",
{'ip_address': ip_address,
'first_ip': ip_address,
'first_ip': ip_range['first_ip'],
'last_ip': ip_range['last_ip']})
return {'ip_address': ip_address,
'subnet_id': subnet['id']}