Merge pull request #14751 from hulu/boto-secgroup-str-fmt-fix

modules.boto_secgroup.authorize: fix string formatting
This commit is contained in:
Thomas S Hatch 2014-08-05 12:38:58 -06:00
commit a048bb8945

View File

@ -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: