Skip to content

Commit

Permalink
add server 7.1 configs to conf parsing tables
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Mar 26, 2024
1 parent 1600222 commit a8800a6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions asconfig/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -890,15 +890,17 @@ func isNodeSpecificContext(key string) bool {
func isSizeOrTime(key string) (bool, humanize) {
switch key {
case "default-ttl", "max-ttl", "tomb-raider-eligible-age",
"tomb-raider-period", "nsup-period", "migrate-fill-delay":
"tomb-raider-period", "nsup-period", "migrate-fill-delay",
"tls-refresh-period":
return true, deHumanizeTime

case "memory-size", "filesize", "write-block-size",
"partition-tree-sprigs", "max-write-cache",
"mounts-size-limit", "index-stage-size",
"stop-writes-count", "stop-writes-size",
"mounts-budget", "data-size",
"quarantine-allocations":
"quarantine-allocations", "flush-size",
"post-write-cache":
return true, deHumanizeSize

default:
Expand Down Expand Up @@ -992,7 +994,8 @@ func isStringField(key string) bool {
"cert-file", "user-query-pattern", "key-file-password", "protocol", "vault-path",
"user-dn-pattern", "scheduler-mode", "token-hash-method",
"remote-namespace", "tls-ca-file", "role-query-base-dn", "set-enable-xdr",
"secrets-tls-context", "secrets-uds-path", "secrets-address-port":
"secrets-tls-context", "secrets-uds-path", "secrets-address-port",
"default-password-file":
return true
}

Expand Down

0 comments on commit a8800a6

Please sign in to comment.