From 1a5496eced7019a4f94f52869f10704992a9214f Mon Sep 17 00:00:00 2001 From: Shireesh Anjal <355479+anjalshireesh@users.noreply.github.com> Date: Thu, 17 Feb 2022 01:29:50 +0530 Subject: [PATCH] Add `enable` key to logger webhook help (#14326) This key is supported by the logger webhook config - but is not returned in the help. --- internal/logger/help.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/logger/help.go b/internal/logger/help.go index cf2121b18..af19c6ca5 100644 --- a/internal/logger/help.go +++ b/internal/logger/help.go @@ -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"`,