mirror of https://github.com/k3s-io/k3s
fix vet error in test/soak/cauldron/cauldron.go
test/soak/cauldron/cauldron.go:106: Warningf format %e has arg ns of wrong type stringpull/58/head
parent
563734faf7
commit
781d3f6055
|
@ -103,7 +103,7 @@ func main() {
|
|||
ns := got.Name
|
||||
defer func(ns string) {
|
||||
if err := client.Core().Namespaces().Delete(ns, nil); err != nil {
|
||||
glog.Warningf("Failed to delete namespace ns: %e", ns, err)
|
||||
glog.Warningf("Failed to delete namespace %s: %v", ns, err)
|
||||
} else {
|
||||
// wait until the namespace disappears
|
||||
for i := 0; i < int(namespaceDeleteTimeout/time.Second); i++ {
|
||||
|
|
Loading…
Reference in New Issue