mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-20 02:39:02 +00:00
module utils: use f-strings (#10979)
* module utils: use f-strings * add changelog frag
This commit is contained in:
parent
b527e80307
commit
032d398c0a
6 changed files with 28 additions and 28 deletions
|
|
@ -57,8 +57,7 @@ def connect_ssl(module):
|
|||
endpoints)
|
||||
except errors.CommandFailedConnectionError as e:
|
||||
module.fail_json(
|
||||
msg="Connection with Spectrum Accelerate system has "
|
||||
"failed: {[0]}.".format(to_native(e)))
|
||||
msg=f"Connection with Spectrum Accelerate system has failed: {e}.")
|
||||
|
||||
|
||||
def spectrum_accelerate_spec():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue