softlayer: fix module name in doc (#2266)
This commit is contained in:
parent
29be1310e1
commit
cdffb36642
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: SoftLayer
|
module: sl_vm
|
||||||
short_description: create or cancel a virtual instance in SoftLayer
|
short_description: create or cancel a virtual instance in SoftLayer
|
||||||
description:
|
description:
|
||||||
- Creates or cancels SoftLayer instances. When created, optionally waits for it to be 'running'.
|
- Creates or cancels SoftLayer instances. When created, optionally waits for it to be 'running'.
|
||||||
|
@ -230,7 +230,7 @@ def create_virtual_instance(module):
|
||||||
domain = module.params.get('domain'),
|
domain = module.params.get('domain'),
|
||||||
datacenter = module.params.get('datacenter')
|
datacenter = module.params.get('datacenter')
|
||||||
)
|
)
|
||||||
|
|
||||||
if instances:
|
if instances:
|
||||||
return False, None
|
return False, None
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ def cancel_instance(module):
|
||||||
canceled = False
|
canceled = False
|
||||||
else:
|
else:
|
||||||
return False, None
|
return False, None
|
||||||
|
|
||||||
return canceled, None
|
return canceled, None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue