mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +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
|
||||
else:
|
||||
msg = ('Failed to add rule to security group {0} with id {1}.'
|
||||
.format(group.name))
|
||||
.format(group.name, group.id))
|
||||
log.error(msg)
|
||||
return False
|
||||
except boto.exception.EC2ResponseError as e:
|
||||
|
Loading…
Reference in New Issue
Block a user