1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

simplify string formatting in some modules (#10727)

* simplify string formatting in some modules

* add changelog frag
This commit is contained in:
Alexei Znamensky 2025-08-31 21:46:43 +12:00 committed by GitHub
parent 3cc4f28fd7
commit 6f40eff632
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 23 additions and 13 deletions

View file

@ -214,7 +214,7 @@ class ManageIQTenant(object):
self.module.fail_json(msg="Parent tenant '%s' not found in manageiq" % parent)
if len(parent_tenant_res) > 1:
self.module.fail_json(msg="Multiple parent tenants not found in manageiq with name '%s" % parent)
self.module.fail_json(msg="Multiple parent tenants not found in manageiq with name '%s'" % parent)
parent_tenant = parent_tenant_res[0]
parent_id = int(parent_tenant['id'])