softlayer: fix module name in doc (#2266)
This commit is contained in:
parent
f0ae2393e6
commit
a9bc509a96
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: SoftLayer
|
||||
module: sl_vm
|
||||
short_description: create or cancel a virtual instance in SoftLayer
|
||||
description:
|
||||
- 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'),
|
||||
datacenter = module.params.get('datacenter')
|
||||
)
|
||||
|
||||
|
||||
if instances:
|
||||
return False, None
|
||||
|
||||
|
@ -308,7 +308,7 @@ def cancel_instance(module):
|
|||
canceled = False
|
||||
else:
|
||||
return False, None
|
||||
|
||||
|
||||
return canceled, None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue