mirror of https://github.com/kubernetes/kops.git
Merge pull request #14399 from justinsb/fixup_a_few_format_strings
Fix typo in format string
This commit is contained in:
commit
1a30abeac0
|
|
@ -32,7 +32,6 @@ func IsNotFound(err error) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
// We could also check for Errors[].Resource == "notFound"
|
// We could also check for Errors[].Resource == "notFound"
|
||||||
// klog.Info("apiErr: %v", apiErr)
|
|
||||||
|
|
||||||
return apiErr.Code == 404
|
return apiErr.Code == 404
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -346,7 +346,7 @@ func findServerGroups(c *hetznerCloudImplementation, clusterName string) (map[st
|
||||||
for _, server := range servers {
|
for _, server := range servers {
|
||||||
instanceGroupNameLabel, ok := server.Labels[TagKubernetesInstanceGroup]
|
instanceGroupNameLabel, ok := server.Labels[TagKubernetesInstanceGroup]
|
||||||
if !ok {
|
if !ok {
|
||||||
klog.Warning("failed to find instance group name for server %s(%d)", server.Name, server.ID)
|
klog.Warningf("failed to find instance group name for server %s(%d)", server.Name, server.ID)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue