diff --git a/command/server/config.go b/command/server/config.go index beb77a1e3f..d33cec7090 100644 --- a/command/server/config.go +++ b/command/server/config.go @@ -433,6 +433,7 @@ func ParseConfig(d string, logger log.Logger) (*Config, error) { "cache_size", "disable_cache", "disable_mlock", + "disable_printable_check", "ui", "telemetry", "default_lease_ttl", diff --git a/command/server/config_test.go b/command/server/config_test.go index 8293224506..74b04b1e5b 100644 --- a/command/server/config_test.go +++ b/command/server/config_test.go @@ -55,12 +55,14 @@ func TestLoadConfigFile(t *testing.T) { DogStatsDTags: []string{"tag_1:val_1", "tag_2:val_2"}, }, - DisableCache: true, - DisableCacheRaw: true, - DisableMlock: true, - DisableMlockRaw: true, - EnableUI: true, - EnableUIRaw: true, + DisableCache: true, + DisableCacheRaw: true, + DisableMlock: true, + DisableMlockRaw: true, + DisablePrintableCheckRaw: true, + DisablePrintableCheck: true, + EnableUI: true, + EnableUIRaw: true, EnableRawEndpoint: true, EnableRawEndpointRaw: true, diff --git a/command/server/test-fixtures/config.hcl b/command/server/test-fixtures/config.hcl index 0a84f7b3f4..dd2227b96a 100644 --- a/command/server/test-fixtures/config.hcl +++ b/command/server/test-fixtures/config.hcl @@ -30,3 +30,4 @@ default_lease_ttl = "10h" cluster_name = "testcluster" pid_file = "./pidfile" raw_storage_endpoint = true +disable_printable_check = true