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
This commit is contained in:
Chris Archibald 2019-03-05 08:03:43 -08:00 committed by John R Barker
parent 07fcb60d55
commit 5fbdb0cfdf

View file

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