Merge pull request #14399 from justinsb/fixup_a_few_format_strings

Fix typo in format string
This commit is contained in:
Kubernetes Prow Robot 2022-10-08 08:01:19 -07:00 committed by GitHub
commit 1a30abeac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -32,7 +32,6 @@ func IsNotFound(err error) bool {
}
// We could also check for Errors[].Resource == "notFound"
// klog.Info("apiErr: %v", apiErr)
return apiErr.Code == 404
}

View File

@ -346,7 +346,7 @@ func findServerGroups(c *hetznerCloudImplementation, clusterName string) (map[st
for _, server := range servers {
instanceGroupNameLabel, ok := server.Labels[TagKubernetesInstanceGroup]
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
}