Remove redundant switch_name param (#26817)

Class uses a redundant switch_name param, which can be
removed safely.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-07-15 00:19:48 +05:30 committed by Sloane Hertel
parent 2f81a28414
commit b6fdc904a9

View file

@ -110,7 +110,6 @@ class VMwareDVSwitch(object):
self.uplink_quantity = self.module.params['uplink_quantity'] self.uplink_quantity = self.module.params['uplink_quantity']
self.discovery_proto = self.module.params['discovery_proto'] self.discovery_proto = self.module.params['discovery_proto']
self.discovery_operation = self.module.params['discovery_operation'] self.discovery_operation = self.module.params['discovery_operation']
self.switch_name = self.module.params['switch_name']
self.state = self.module.params['state'] self.state = self.module.params['state']
self.content = connect_to_api(module) self.content = connect_to_api(module)