mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
modules [no]*: use f-strings (#10973)
* modules [no]*: use f-strings * add changelog frag
This commit is contained in:
@@ -236,7 +236,7 @@ def create_network(module, oneandone_conn):
|
||||
datacenter_id = get_datacenter(oneandone_conn, datacenter)
|
||||
if datacenter_id is None:
|
||||
module.fail_json(
|
||||
msg='datacenter %s not found.' % datacenter)
|
||||
msg=f'datacenter {datacenter} not found.')
|
||||
|
||||
try:
|
||||
_check_mode(module, True)
|
||||
|
||||
Reference in New Issue
Block a user