aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@yahooinc.com>2022-01-26 13:57:42 +0100
committerHåkon Hallingstad <hakon@yahooinc.com>2022-01-26 13:57:42 +0100
commitd4116ac60de6d8ed7bed0f32efeb0f5b933f694c (patch)
tree9829f298514d70b73d63165e676948a12682f73e /node-admin
parent9d46e55257521413d7171958d674a800332840e6 (diff)
Format with en/US locale
Diffstat (limited to 'node-admin')
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Form.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Form.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Form.java
index 77510280d5b..14f72a5fa61 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Form.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Form.java
@@ -1,6 +1,8 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.task.util.template;
+import java.util.Locale;
+
/**
* Public methods common to both Template and ListElement.
*
@@ -20,7 +22,7 @@ public interface Form {
var args = new Object[1 + rest.length];
args[0] = first;
System.arraycopy(rest, 0, args, 1, rest.length);
- var value = String.format(format, args);
+ var value = String.format(Locale.US, format, args);
return set(name, value);
}