mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
This commit is contained in:
@@ -165,7 +165,7 @@ func printStatusAndLogsForNotReadyPods(c *client.Client, ns string, podNames []s
|
||||
prefix = "Retrieving log for the last terminated container"
|
||||
}
|
||||
if err != nil {
|
||||
Logf("%s %s, err: %v:\n%s\n", prefix, id, log)
|
||||
Logf("%s %s, err: %v:\n%s\n", prefix, id, err, log)
|
||||
} else {
|
||||
Logf("%s %s:\n%s\n", prefix, id, log)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user