diff --git a/changelogs/fragments/2139-dimensiondata_network-str-format.yml b/changelogs/fragments/2139-dimensiondata_network-str-format.yml new file mode 100644 index 0000000000..115b04f045 --- /dev/null +++ b/changelogs/fragments/2139-dimensiondata_network-str-format.yml @@ -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). diff --git a/plugins/modules/cloud/dimensiondata/dimensiondata_network.py b/plugins/modules/cloud/dimensiondata/dimensiondata_network.py index 2187ceaa45..246b486d06 100644 --- a/plugins/modules/cloud/dimensiondata/dimensiondata_network.py +++ b/plugins/modules/cloud/dimensiondata/dimensiondata_network.py @@ -260,7 +260,7 @@ class DimensionDataNetworkModule(DimensionDataModule): ) 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: