mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-19 23:00:22 -07:00
Wrong Setup function was being used, which could result in failure if new global options were used. (#52862)
* Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * Revert "Revert "changes to clusteR"" This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a. * Revert "Revert "changes to clusteR"" This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a. * Fix setup bug
This commit is contained in:
parent
1e776c34a2
commit
ab22ea1a66
4 changed files with 4 additions and 5 deletions
|
@ -171,8 +171,7 @@ class NetAppONTAPFlexCache(object):
|
|||
if HAS_NETAPP_LIB is False:
|
||||
self.module.fail_json(msg="the python NetApp-Lib module is required")
|
||||
else:
|
||||
self.server = netapp_utils.setup_ontap_zapi(module=self.module,
|
||||
vserver=self.parameters['vserver'])
|
||||
self.server = netapp_utils.setup_na_ontap_zapi(module=self.module, vserver=self.parameters['vserver'])
|
||||
|
||||
def add_parameter_to_dict(self, adict, name, key=None, tostr=False):
|
||||
''' add defined parameter (not None) to adict using key '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue