Bug fix
This commit is contained in:
parent
aab31cba96
commit
5cbea70a65
1 changed files with 3 additions and 2 deletions
|
@ -125,7 +125,7 @@ import time
|
||||||
HAS_SF_SDK = netapp_utils.has_sf_sdk()
|
HAS_SF_SDK = netapp_utils.has_sf_sdk()
|
||||||
try:
|
try:
|
||||||
import solidfire.common
|
import solidfire.common
|
||||||
except Exception:
|
except:
|
||||||
HAS_SF_SDK = False
|
HAS_SF_SDK = False
|
||||||
|
|
||||||
|
|
||||||
|
@ -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…
Reference in a new issue