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
parent 781d3f60
......@@ -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++ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment