mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10727/6f40eff6 backport][stable-11] simplify string formatting in some modules (#10773)
simplify string formatting in some modules (#10727)
* simplify string formatting in some modules
* add changelog frag
(cherry picked from commit 6f40eff632
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
144945894f
commit
25ffe69b51
10 changed files with 23 additions and 13 deletions
|
@ -546,7 +546,7 @@ def main():
|
|||
insert_to = None
|
||||
cmd.append([insert_to is not None, "insert %s" % insert_to])
|
||||
cmd.append([value])
|
||||
cmd.append([params['direction'], "%s" % params['direction']])
|
||||
cmd.append([params['direction'], params['direction']])
|
||||
cmd.append([params['interface'], "on %s" % params['interface']])
|
||||
cmd.append([params['interface_in'], "in on %s" % params['interface_in']])
|
||||
cmd.append([params['interface_out'], "out on %s" % params['interface_out']])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue