mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Assorted pylint fixes
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright: Ansible Project
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
@@ -416,7 +418,7 @@ def create_instance_template(module, gce):
|
||||
changed = True
|
||||
except GoogleBaseError as err:
|
||||
module.fail_json(
|
||||
msg='Unexpected error attempting to create instance {}, error: {}'
|
||||
msg='Unexpected error attempting to create instance {0}, error: {1}'
|
||||
.format(
|
||||
instance,
|
||||
err.value
|
||||
|
||||
Reference in New Issue
Block a user