Add enable key to logger webhook help (#14326)

This key is supported by the logger webhook config - but is not returned in the help.
This commit is contained in:
Shireesh Anjal 2022-02-17 01:29:50 +05:30 committed by GitHub
parent b264e6a191
commit 1a5496eced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,13 @@ 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"`,