mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
modules ip*: use f-strings (#10968)
* modules ip*: use f-strings * add changelog frag
This commit is contained in:
parent
0ef2235929
commit
0b6e99b28b
13 changed files with 80 additions and 73 deletions
|
|
@ -104,7 +104,7 @@ class SubCAIPAClient(IPAClient):
|
|||
for change in diff:
|
||||
update_detail = dict()
|
||||
if item[change] is not None:
|
||||
update_detail.update(setattr="{0}={1}".format(change, item[change]))
|
||||
update_detail.update(setattr=f"{change}={item[change]}")
|
||||
self._post_json(method='ca_mod', name=subca_name, item=update_detail)
|
||||
|
||||
def subca_del(self, subca_name=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue