From 9b09ce38058d0b83704fd9b0de35ec3d8c3f32e8 Mon Sep 17 00:00:00 2001 From: Leonid Plisov Date: Thu, 26 Dec 2024 01:03:20 +0300 Subject: [PATCH] wrong branch --- plugins/modules/vmware_guest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/modules/vmware_guest.py b/plugins/modules/vmware_guest.py index ff386e4ef..d34608577 100644 --- a/plugins/modules/vmware_guest.py +++ b/plugins/modules/vmware_guest.py @@ -1945,7 +1945,6 @@ def configure_network(self, vm_obj): pg = pgs[0] else: pg = find_obj(self.content, [vim.DistributedVirtualPortgroup], network_name) - if pg is None or nic.device.backing.port.portgroupKey != pg.key: nic.device.deviceInfo.summary = network_name nic_change_detected = True