remove double ENABLED help output (#16528)

This commit is contained in:
Harshavardhana
2023-02-03 19:22:52 +05:30
committed by GitHub
parent 8ca14e6267
commit aa8b9572b9
4 changed files with 28 additions and 69 deletions
-21
View File
@@ -24,13 +24,6 @@ import (
// Help template for logger http and audit
var (
Help = config.HelpKVS{
config.HelpKV{
Key: config.Enable,
Description: "set to 'on' to enable the logger webhook",
Optional: true,
Type: "on|off",
Sensitive: false,
},
config.HelpKV{
Key: Endpoint,
Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/server"`,
@@ -73,13 +66,6 @@ var (
}
HelpWebhook = config.HelpKVS{
config.HelpKV{
Key: config.Enable,
Description: "set to 'on' to enable the audit logger",
Optional: true,
Type: "on|off",
Sensitive: false,
},
config.HelpKV{
Key: Endpoint,
Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/audit"`,
@@ -122,13 +108,6 @@ var (
}
HelpKafka = config.HelpKVS{
config.HelpKV{
Key: config.Enable,
Description: "set to 'on' to enable kafka audit logging",
Optional: true,
Type: "on|off",
Sensitive: false,
},
config.HelpKV{
Key: KafkaBrokers,
Description: "comma separated list of Kafka broker addresses",