From a188554fe15a21d9c939a5e99574d428d26f5332 Mon Sep 17 00:00:00 2001 From: David Regla Date: Sun, 10 Oct 2021 11:52:21 -0500 Subject: [PATCH] Add missing keys to API config help (#13255) Added missing `apiClusterDeadline` and `apiListQuorum` to API config.HelpKVS structure --- internal/config/api/help.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/internal/config/api/help.go b/internal/config/api/help.go index 84937a63d..61ed49dc9 100644 --- a/internal/config/api/help.go +++ b/internal/config/api/help.go @@ -34,6 +34,12 @@ var ( Optional: true, Type: "duration", }, + config.HelpKV{ + Key: apiClusterDeadline, + Description: `set the deadline for cluster readiness check e.g. "10s"`, + Optional: true, + Type: "duration", + }, config.HelpKV{ Key: apiCorsAllowOrigin, Description: `set comma separated list of origins allowed for CORS requests e.g. "https://example1.com,https://example2.com"`, @@ -46,6 +52,12 @@ var ( Optional: true, Type: "duration", }, + config.HelpKV{ + Key: apiListQuorum, + Description: `set the acceptable quorum expected for list operations e.g. "optimal", "reduced", "disk", "strict", defaults to "strict"`, + Optional: true, + Type: "string", + }, config.HelpKV{ Key: apiReplicationWorkers, Description: `set the number of replication workers, defaults to 100`,