diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2019-01-15 17:58:15 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2019-01-15 17:58:15 +0100 |
commit | 8247d1edcb4232ae30c7cacdc0325df940b354d9 (patch) | |
tree | 9695e335fb28040b1da167cad9c5b89606ceddf2 /flags | |
parent | 0889c094f94178967c2765117b94069f18f63551 (diff) |
Add node type as dimension for tls feature flags
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index d564b21d12a..3d304adc71d 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -10,7 +10,7 @@ import java.util.TreeMap; import static com.yahoo.vespa.flags.FetchVector.Dimension.APPLICATION_ID; import static com.yahoo.vespa.flags.FetchVector.Dimension.HOSTNAME; -import static com.yahoo.vespa.flags.FetchVector.Dimension.ZONE_ID; +import static com.yahoo.vespa.flags.FetchVector.Dimension.NODE_TYPE; /** * @author hakonhall @@ -63,13 +63,13 @@ public class Flags { "tls-insecure-mixed-mode", "plaintext_client_mixed_server", "TLS insecure mixed mode. Allowed values: ['plaintext_client_mixed_server', 'tls_client_mixed_server', 'tls_client_tls_server']", "Takes effect on restart of Docker container", - ZONE_ID, APPLICATION_ID, HOSTNAME); + NODE_TYPE, APPLICATION_ID, HOSTNAME); public static final UnboundStringFlag TLS_INSECURE_AUTHORIZATION_MODE = defineStringFlag( "tls-insecure-authorization-mode", "log_only", "TLS insecure authorization mode. Allowed values: ['disable', 'log_only', 'enforce']", "Takes effect on restart of Docker container", - ZONE_ID, APPLICATION_ID, HOSTNAME); + NODE_TYPE, APPLICATION_ID, HOSTNAME); /** WARNING: public for testing: All flags should be defined in {@link Flags}. */ public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, String description, |