Merge pull request #102869 from mengjiao-liu/json-register-move

Remove default JSON logging format registration from k8s.io/component-base/logs package
This commit is contained in:
Kubernetes Prow Robot
2021-06-24 11:59:41 -07:00
committed by GitHub
4 changed files with 101 additions and 14 deletions

View File

@@ -150,7 +150,7 @@ func TestValidateKubeletConfiguration(t *testing.T) {
"GracefulNodeShutdown": true,
},
Logging: componentbaseconfig.LoggingConfiguration{
Format: "json",
Format: "text",
},
}
if allErrors := ValidateKubeletConfiguration(successCase3); allErrors != nil {