mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
Add missing keys to API config help (#13255)
Added missing `apiClusterDeadline` and `apiListQuorum` to API config.HelpKVS structure
This commit is contained in:
parent
8d52c7daf3
commit
a188554fe1
@ -34,6 +34,12 @@ var (
|
|||||||
Optional: true,
|
Optional: true,
|
||||||
Type: "duration",
|
Type: "duration",
|
||||||
},
|
},
|
||||||
|
config.HelpKV{
|
||||||
|
Key: apiClusterDeadline,
|
||||||
|
Description: `set the deadline for cluster readiness check e.g. "10s"`,
|
||||||
|
Optional: true,
|
||||||
|
Type: "duration",
|
||||||
|
},
|
||||||
config.HelpKV{
|
config.HelpKV{
|
||||||
Key: apiCorsAllowOrigin,
|
Key: apiCorsAllowOrigin,
|
||||||
Description: `set comma separated list of origins allowed for CORS requests e.g. "https://example1.com,https://example2.com"`,
|
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,
|
Optional: true,
|
||||||
Type: "duration",
|
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{
|
config.HelpKV{
|
||||||
Key: apiReplicationWorkers,
|
Key: apiReplicationWorkers,
|
||||||
Description: `set the number of replication workers, defaults to 100`,
|
Description: `set the number of replication workers, defaults to 100`,
|
||||||
|
Loading…
Reference in New Issue
Block a user