Merge pull request #10615 from ariesliuwei/ari-logfix

Migrate kubectl logs to structured logging
pull/10621/head
Medya Ghazizadeh 2021-02-25 11:30:50 -08:00 committed by GitHub
commit 33146eac8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ minikube kubectl -- get pods --namespace kube-system`,
out.ErrLn("Error caching kubectl: %v", err)
}
klog.Infof("Running %s %v", c.Path, args)
klog.InfoS("Running", "path", c.Path, "args", args)
c.Stdin = os.Stdin
c.Stdout = os.Stdout
c.Stderr = os.Stderr