mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-03 12:44:29 -07:00
Fix an invalid format string on Python 2.7
This commit is contained in:
parent
2ed1936ad8
commit
02c4a83263
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ def main():
|
|||
fetch['changed'] = changed
|
||||
fetch['name'] = module.params.get('name')
|
||||
except Exception as e:
|
||||
module.fail_json(msg=f"An unexpected error occurred: {str(e)}")
|
||||
module.fail_json(msg=str(e))
|
||||
|
||||
module.exit_json(**fetch)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue