1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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)