fixed str formatting (#2139) (#2141)

(cherry picked from commit f1dbef4143)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
pull/2145/head
patchback[bot] 2021-03-31 14:15:05 +02:00 committed by GitHub
parent 6f47bcc399
commit 10a61c9dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
bugfixes:
- dimensiondata_network - bug when formatting message, instead of % a simple comma was used (https://github.com/ansible-collections/community.general/pull/2139).

View File

@ -260,7 +260,7 @@ class DimensionDataNetworkModule(DimensionDataModule):
) )
self.module.fail_json( self.module.fail_json(
"Unexpected failure deleting network with id %s", network.id "Unexpected failure deleting network with id %s" % network.id
) )
except DimensionDataAPIException as e: except DimensionDataAPIException as e: