Fix typo and format logs

This commit is contained in:
Pedro Rodrigues 2019-03-07 16:11:41 -03:00
parent 014cb38ecb
commit 09a47d2bc0
No known key found for this signature in database
GPG Key ID: 411F59FDF49036D8

View File

@ -4231,16 +4231,16 @@ func (c *Cloud) EnsureLoadBalancerDeleted(ctx context.Context, clusterName strin
sgID := aws.StringValue(sg.GroupId)
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
}
if sgID == "" {
klog.Warning("Ignoring empty security group in ", service.Name)
klog.Warningf("Ignoring empty security group in %s", service.Name)
continue
}
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
}