Fixes variable name confusion
Change-Id: I20931251a700436b017775df2583be18ba7c6dbf Closes-Bug: #1591636
This commit is contained in:
parent
824b4109a2
commit
260ce9c161
|
@ -322,8 +322,8 @@ class DhcpAgent(manager.Manager):
|
|||
return
|
||||
# NOTE(kevinbenton): we don't exclude dhcp disabled subnets because
|
||||
# they still change the indexes used for tags
|
||||
old_cidrs = [s.cidr for s in network.subnets]
|
||||
new_cidrs = [s.cidr for s in old_network.subnets]
|
||||
old_cidrs = [s.cidr for s in old_network.subnets]
|
||||
new_cidrs = [s.cidr for s in network.subnets]
|
||||
if old_cidrs == new_cidrs:
|
||||
self.call_driver('reload_allocations', network)
|
||||
self.cache.put(network)
|
||||
|
|
Loading…
Reference in New Issue