Migrate kubectl logs to structured logging

pull/10615/head
liuwei10 2021-02-25 17:41:38 +08:00
parent 81460f05f1
commit f939910a94
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,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