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
This commit is contained in:
Riccardo Murri 2019-11-25 15:54:38 +01:00 committed by John R Barker
parent 2d6f716d37
commit e4196f99e0

View file

@ -1445,7 +1445,7 @@ def main():
datastore_id = get_datastore_id(module, one_client, requested_datastore_id, requested_datastore_name) datastore_id = get_datastore_id(module, one_client, requested_datastore_id, requested_datastore_name)
if datastore_id is None: if datastore_id is None:
if requested_datastore_id: 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: elif requested_datastore_name:
module.fail_json(msg="There is no datastore with name: " + requested_datastore_name) module.fail_json(msg="There is no datastore with name: " + requested_datastore_name)
else: else: