From ee3e404122955a58f40a250ecd39e472c10f8c62 Mon Sep 17 00:00:00 2001 From: Christoph Blecker Date: Fri, 5 Oct 2018 16:05:17 -0700 Subject: [PATCH] fix vet error in test/soak/serve_hostnames/serve_hostnames.go test/soak/serve_hostnames/serve_hostnames.go:124: Warningf format %e has arg ns of wrong type string --- test/soak/serve_hostnames/serve_hostnames.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/soak/serve_hostnames/serve_hostnames.go b/test/soak/serve_hostnames/serve_hostnames.go index e94f2d88e68..92b48bf5512 100644 --- a/test/soak/serve_hostnames/serve_hostnames.go +++ b/test/soak/serve_hostnames/serve_hostnames.go @@ -121,7 +121,7 @@ func main() { ns := got.Name defer func(ns string) { if err := client.CoreV1().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++ {