Remove default JSON logging format registration from component-base/logs package

This commit is contained in:
Mengjiao Liu
2021-06-16 10:10:55 +08:00
parent f363322d4a
commit af825b4357
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 {