mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Merge pull request #21905 from justinsb/aws_wrap_security_group_error
Auto commit by PR queue bot
This commit is contained in:
@@ -1716,7 +1716,7 @@ func (s *AWSCloud) addSecurityGroupIngress(securityGroupId string, addPermission
|
||||
_, err = s.ec2.AuthorizeSecurityGroupIngress(request)
|
||||
if err != nil {
|
||||
glog.Warning("Error authorizing security group ingress", err)
|
||||
return false, err
|
||||
return false, fmt.Errorf("error authorizing security group ingress: %v", err)
|
||||
}
|
||||
|
||||
return true, nil
|
||||
|
Reference in New Issue
Block a user