Bug Fix for na_elementsw_backup.py (Default argument spec wasn't given) (#52378)

* Revert "changes to clusteR"

This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.

* Revert "Revert "changes to clusteR""

This reverts commit f1104a37b4.

* bug fix

* Fix exception
pull/53342/head
Chris Archibald 6 years ago committed by John R Barker
parent 07fcb60d55
commit 5fbdb0cfdf

@ -136,7 +136,8 @@ class ElementSWBackup(object):
""" """
Setup Ansible parameters and SolidFire connection Setup Ansible parameters and SolidFire connection
""" """
self.argument_spec = {} self.argument_spec = netapp_utils.ontap_sf_host_argument_spec()
self.argument_spec.update(dict( self.argument_spec.update(dict(
src_hostname=dict(aliases=['hostname'], required=True, type='str'), src_hostname=dict(aliases=['hostname'], required=True, type='str'),

Loading…
Cancel
Save