summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorValerij Fredriksen <freva@users.noreply.github.com>2020-03-31 12:47:40 +0200
committerGitHub <noreply@github.com>2020-03-31 12:47:40 +0200
commit292960179e19b3325076e9cc9d84806f47fcc8d2 (patch)
tree4ec1418aee4b05c026097bb7197ee0e8d01e5eab /flags
parent17c25085eeeccc5d186b92edfebaa84f1e219e54 (diff)
parent7909870661adf852cca0db558022b827506ed5b3 (diff)
Merge pull request #12775 from vespa-engine/hakonhall/add-the-vespa-version-dimension-explicitly
Add the vespa-version dimension explicitly
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java5
1 files changed, 3 insertions, 2 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 1dfbbb37bb6..e81bccee593 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -69,9 +69,10 @@ public class Flags {
public static final UnboundBooleanFlag USE_NEW_VESPA_RPMS = defineFeatureFlag(
"use-new-vespa-rpms", false,
- "Whether to use the new vespa-rpms YUM repo when upgrading/downgrading.",
+ "Whether to use the new vespa-rpms YUM repo when upgrading/downgrading. The vespa-version " +
+ "when fetching the flag value is the wanted version of the host.",
"Takes effect when upgrading or downgrading host admin to a different version.",
- HOSTNAME, NODE_TYPE);
+ HOSTNAME, NODE_TYPE, VESPA_VERSION);
public static final UnboundListFlag<String> DISABLED_HOST_ADMIN_TASKS = defineListFlag(
"disabled-host-admin-tasks", List.of(), String.class,