mirror of
https://github.com/minio/minio.git
synced 2025-12-02 06:07:51 -05:00
Order all keys in config (#8541)
New changes - return default values when sub-sys is not configured. - state is hidden parameter now - remove worm mode to be saved in config
This commit is contained in:
@@ -44,11 +44,6 @@ func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) {
|
||||
// Region and Worm help is documented in default config
|
||||
var (
|
||||
RegionHelp = HelpKVS{
|
||||
HelpKV{
|
||||
Key: State,
|
||||
Type: "on|off",
|
||||
Description: "Indicates if config region is honored or ignored",
|
||||
},
|
||||
HelpKV{
|
||||
Key: RegionName,
|
||||
Type: "string",
|
||||
@@ -62,18 +57,4 @@ var (
|
||||
Optional: true,
|
||||
},
|
||||
}
|
||||
|
||||
WormHelp = HelpKVS{
|
||||
HelpKV{
|
||||
Key: State,
|
||||
Type: "on|off",
|
||||
Description: `Indicates if worm is "on" or "off"`,
|
||||
},
|
||||
HelpKV{
|
||||
Key: Comment,
|
||||
Type: "sentence",
|
||||
Description: "A comment to describe the worm state",
|
||||
Optional: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user