fix vet error in test/soak/cauldron/cauldron.go

test/soak/cauldron/cauldron.go:106: Warningf format %e has arg ns of wrong type string
pull/58/head
Christoph Blecker 2018-10-05 16:04:40 -07:00
parent 563734faf7
commit 781d3f6055
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
1 changed files with 1 additions and 1 deletions

View File

@ -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++ {