From 8fafefd728ad8f0ac963d6ebfe4f134fcdf7b639 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Sat, 6 Jun 2015 12:25:50 -0400 Subject: [PATCH] Fix doc for edge-case return from removeSecurityGroupIngress --- pkg/cloudprovider/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudprovider/aws/aws.go b/pkg/cloudprovider/aws/aws.go index 0df4ea8ccc9..9b8e4a28831 100644 --- a/pkg/cloudprovider/aws/aws.go +++ b/pkg/cloudprovider/aws/aws.go @@ -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 {