mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Fix typo and format logs
This commit is contained in:
parent
014cb38ecb
commit
09a47d2bc0
@ -4231,16 +4231,16 @@ func (c *Cloud) EnsureLoadBalancerDeleted(ctx context.Context, clusterName strin
|
|||||||
sgID := aws.StringValue(sg.GroupId)
|
sgID := aws.StringValue(sg.GroupId)
|
||||||
|
|
||||||
if sgID == c.cfg.Global.ElbSecurityGroup {
|
if sgID == c.cfg.Global.ElbSecurityGroup {
|
||||||
//We don't want to delete a security group that was defined in the Cloud Configurationn.
|
//We don't want to delete a security group that was defined in the Cloud Configuration.
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if sgID == "" {
|
if sgID == "" {
|
||||||
klog.Warning("Ignoring empty security group in ", service.Name)
|
klog.Warningf("Ignoring empty security group in %s", service.Name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if !c.tagging.hasClusterTag(sg.Tags) {
|
if !c.tagging.hasClusterTag(sg.Tags) {
|
||||||
klog.Warning("Ignoring security group with no cluster tag in", service.Name)
|
klog.Warningf("Ignoring security group with no cluster tag in %s", service.Name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user