From: Aaron Rosen Date: Thu, 17 Sep 2015 01:34:37 +0000 (-0700) Subject: Fix log statement to log correct variable first_ip X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e71e79fed321dd1d139c766a8962511fbc8b3757;p=openstack-build%2Fneutron-build.git Fix log statement to log correct variable first_ip Change-Id: I75b8caad184d8fde535689000fbe11ac188c8b77 --- diff --git a/neutron/db/ipam_non_pluggable_backend.py b/neutron/db/ipam_non_pluggable_backend.py index 4c77835a2..cf9c18ad5 100644 --- a/neutron/db/ipam_non_pluggable_backend.py +++ b/neutron/db/ipam_non_pluggable_backend.py @@ -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']}