Merge pull request #132480 from pohly/kubectl-init-logging
kubectl: avoid logging during init Kubernetes-commit: b832d100f6d7a165093199a05139de641329a77f
This commit is contained in:
commit
4966ba7250
|
@ -154,7 +154,6 @@ func LoadTranslations(root string, getLanguageFn func() string) error {
|
||||||
fmt.Sprintf("%s/%s/LC_MESSAGES/k8s.mo", root, langStr),
|
fmt.Sprintf("%s/%s/LC_MESSAGES/k8s.mo", root, langStr),
|
||||||
}
|
}
|
||||||
|
|
||||||
klog.V(3).Infof("Setting language to %s", langStr)
|
|
||||||
// TODO: list the directory and load all files.
|
// TODO: list the directory and load all files.
|
||||||
buf := new(bytes.Buffer)
|
buf := new(bytes.Buffer)
|
||||||
w := zip.NewWriter(buf)
|
w := zip.NewWriter(buf)
|
||||||
|
|
Loading…
Reference in New Issue