Fix doc for edge-case return from removeSecurityGroupIngress
This commit is contained in:
@@ -1509,7 +1509,7 @@ func (s *AWSCloud) ensureSecurityGroupIngress(securityGroupId string, addPermiss
|
|||||||
|
|
||||||
// Makes sure the security group no longer includes the specified permissions
|
// Makes sure the security group no longer includes the specified permissions
|
||||||
// Returns true iff changes were made
|
// 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) {
|
func (s *AWSCloud) removeSecurityGroupIngress(securityGroupId string, removePermissions []*ec2.IPPermission) (bool, error) {
|
||||||
group, err := s.findSecurityGroup(securityGroupId)
|
group, err := s.findSecurityGroup(securityGroupId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user