From b6fdc904a92ea762ccd3a68a24ecd3b41ab5cefa Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Sat, 15 Jul 2017 00:19:48 +0530 Subject: [PATCH] Remove redundant switch_name param (#26817) Class uses a redundant switch_name param, which can be removed safely. Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/cloud/vmware/vmware_dvswitch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py b/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py index ae43e32aefb..b57dcde9ba7 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py +++ b/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py @@ -110,7 +110,6 @@ class VMwareDVSwitch(object): self.uplink_quantity = self.module.params['uplink_quantity'] self.discovery_proto = self.module.params['discovery_proto'] self.discovery_operation = self.module.params['discovery_operation'] - self.switch_name = self.module.params['switch_name'] self.state = self.module.params['state'] self.content = connect_to_api(module)