diff --git a/plugins/modules/vmware_dvswitch.py b/plugins/modules/vmware_dvswitch.py index 1d184b2dc..68785dfb9 100644 --- a/plugins/modules/vmware_dvswitch.py +++ b/plugins/modules/vmware_dvswitch.py @@ -887,6 +887,7 @@ def update_dvswitch(self): config_spec.defaultPortConfig.macManagementPolicy = policy # Check switch version + spec_product = None if self.switch_version: results['version'] = self.switch_version if self.dvs.config.productInfo.version != self.switch_version: