Fix doc for edge-case return from removeSecurityGroupIngress

This commit is contained in:
Justin Santa Barbara
2015-06-06 12:25:50 -04:00
parent e32c66c6f4
commit 8fafefd728

View File

@@ -1509,7 +1509,7 @@ func (s *AWSCloud) ensureSecurityGroupIngress(securityGroupId string, addPermiss
// Makes sure the security group no longer includes the specified permissions
// Returns true iff changes were made
// Returns true if the security group no longer exists
// If the security group no longer exists, will return (false, nil)
func (s *AWSCloud) removeSecurityGroupIngress(securityGroupId string, removePermissions []*ec2.IPPermission) (bool, error) {
group, err := s.findSecurityGroup(securityGroupId)
if err != nil {