mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #14751 from hulu/boto-secgroup-str-fmt-fix
modules.boto_secgroup.authorize: fix string formatting
This commit is contained in:
commit
a048bb8945
@ -305,7 +305,7 @@ def authorize(name=None, source_group_name=None,
|
|||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
msg = ('Failed to add rule to security group {0} with id {1}.'
|
msg = ('Failed to add rule to security group {0} with id {1}.'
|
||||||
.format(group.name))
|
.format(group.name, group.id))
|
||||||
log.error(msg)
|
log.error(msg)
|
||||||
return False
|
return False
|
||||||
except boto.exception.EC2ResponseError as e:
|
except boto.exception.EC2ResponseError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user