mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[PR #11229/f2783967 backport][stable-12] fix couple of f-string mishaps (#11230)
fix couple of f-string mishaps (#11229)
* fix couple of f-string mishaps
* add changelog frag
* fix insanity
(cherry picked from commit f27839673c)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -158,7 +158,7 @@ def _assert_is_valid_value(module, item, value, prefix=""):
|
||||
module.fail_json(
|
||||
msg=f"{prefix} Value of {value!r} for item {item!r} is invalid. Value must either be 'unlimited', 'infinity' or -1, all of "
|
||||
"which indicate no limit, or a limit of 0 or larger. Refer to the limits.conf(5) manual pages for "
|
||||
"more details." % (prefix, value, item)
|
||||
"more details."
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user