From 3c7a503a53aee8badf4ae3c93d01da8f496fea4c Mon Sep 17 00:00:00 2001 From: Joey Date: Tue, 9 Oct 2018 22:01:05 +0800 Subject: [PATCH] ovirt_storage_domain: Fix error message formating (#46678) --- lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py index 55115f8534..22bcb03e3b 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py @@ -439,7 +439,7 @@ class StorageDomainModule(BaseModule): else: raise Exception( "Can't bring storage to state `%s`, because Datacenter " - "%s is not UP" + "%s is not UP" % (self.param('state'), dc.name) ) def _attached_sds_service(self, dc_name):