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:
Dmitry Tantsur 2017-04-28 12:13:33 +02:00
parent de5a3fe03b
commit 7f3f8b0188
1 changed files with 1 additions and 1 deletions

View File

@ -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']]