Merge pull request #10617 from ariesliuwei/logche

migrate some logs to structured logging
pull/10621/head
Medya Ghazizadeh 2021-02-25 11:32:10 -08:00 committed by GitHub
commit abb403645e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func runPause(cmd *cobra.Command, args []string) {
register.SetEventLogPath(localpath.EventLog(ClusterFlagValue()))
register.Reg.SetStep(register.Pausing)
klog.Infof("namespaces: %v keys: %v", namespaces, viper.AllSettings())
klog.InfoS("namespaces", namespaces, "keys", viper.AllSettings())
if allNamespaces {
namespaces = nil // all
} else if len(namespaces) == 0 {