From e4196f99e01507d4e2eb9e767b6f8b7d802d0971 Mon Sep 17 00:00:00 2001 From: Riccardo Murri Date: Mon, 25 Nov 2019 15:54:38 +0100 Subject: [PATCH] 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 --- lib/ansible/modules/cloud/opennebula/one_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/opennebula/one_vm.py b/lib/ansible/modules/cloud/opennebula/one_vm.py index 521dfe74295..41532467df5 100644 --- a/lib/ansible/modules/cloud/opennebula/one_vm.py +++ b/lib/ansible/modules/cloud/opennebula/one_vm.py @@ -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: