one_vm: Fix typo in error message. (#65253)

##### SUMMARY
Fix a (likely) copy+paste error in error message in the `one_vm` module.


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
pull/65192/head
Riccardo Murri 5 years ago committed by John R Barker
parent 2d6f716d37
commit e4196f99e0

@ -1445,7 +1445,7 @@ def main():
datastore_id = get_datastore_id(module, one_client, requested_datastore_id, requested_datastore_name)
if datastore_id is None:
if requested_datastore_id:
module.fail_json(msg='There is no datastore with template_id: ' + str(requested_datastore_id))
module.fail_json(msg='There is no datastore with datastore_id: ' + str(requested_datastore_id))
elif requested_datastore_name:
module.fail_json(msg="There is no datastore with name: " + requested_datastore_name)
else:

Loading…
Cancel
Save