1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Misc Typo correction (#25025)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-05-25 19:44:39 +05:30 committed by René Moser
parent 78fff751ab
commit 211d0656f8
2 changed files with 3 additions and 3 deletions

View file

@ -306,7 +306,7 @@ def vca_login(module):
if service_type == 'vchs':
version = '5.6'
elif service_type == 'vcd' and not version:
version == '5.6'
version = '5.6'
vca = VCA(host=host, username=username,
service_type=SERVICE_MAP[service_type],

View file

@ -338,7 +338,7 @@ def create(module, names=[], flavor=None, image=None, meta={}, key_name=None,
try:
server.get()
except:
server.status == 'ERROR'
server.status = 'ERROR'
if not filter(lambda s: s.status not in FINAL_STATUSES,
servers):
@ -352,7 +352,7 @@ def create(module, names=[], flavor=None, image=None, meta={}, key_name=None,
try:
server.get()
except:
server.status == 'ERROR'
server.status = 'ERROR'
instance = rax_to_dict(server, 'server')
if server.status == 'ACTIVE' or not wait:
success.append(instance)