mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
This commit is contained in:
@@ -1011,7 +1011,7 @@ func waitForPodTerminatedInNamespace(c *client.Client, podName, reason, namespac
|
||||
if pod.Status.Reason == reason {
|
||||
return true, nil
|
||||
} else {
|
||||
return true, fmt.Errorf("Expected pod %n/%n to be terminated with reason %v, got reason: ", namespace, podName, reason, pod.Status.Reason)
|
||||
return true, fmt.Errorf("Expected pod %v in namespace %v to be terminated with reason %v, got reason: %v", podName, namespace, reason, pod.Status.Reason)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user