Remove redundant copy operation in pxe_enabled update code
I cannot remember why I added it, I assume it's not needed.
This is a follow-up to 782ee92c45
.
Change-Id: Iaa892e072db87fbcff0804cecd932670edf823df
This commit is contained in:
parent
de5a3fe03b
commit
7f3f8b0188
|
@ -261,7 +261,7 @@ class ValidateInterfacesHook(base.ProcessingHook):
|
|||
|
||||
if CONF.processing.overwrite_existing:
|
||||
# Make sure pxe_enabled is up-to-date
|
||||
ports = node_info.ports().copy()
|
||||
ports = node_info.ports()
|
||||
for iface in introspection_data['interfaces'].values():
|
||||
try:
|
||||
port = ports[iface['mac']]
|
||||
|
|
Loading…
Reference in New Issue