mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
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 = '''
|
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…
Add table
Add a link
Reference in a new issue