From e71e79fed321dd1d139c766a8962511fbc8b3757 Mon Sep 17 00:00:00 2001 From: Aaron Rosen Date: Wed, 16 Sep 2015 18:34:37 -0700 Subject: [PATCH] Fix log statement to log correct variable first_ip Change-Id: I75b8caad184d8fde535689000fbe11ac188c8b77 --- neutron/db/ipam_non_pluggable_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']} -- 2.45.2