diff options
author | Kristian Aune <kraune@verizonmedia.com> | 2021-06-29 08:22:47 +0200 |
---|---|---|
committer | Kristian Aune <kraune@verizonmedia.com> | 2021-06-29 08:22:47 +0200 |
commit | 2af5d0876614a7d40c30784d5016904d4194520d (patch) | |
tree | a3477f9894b8541b0e39fc5b9d2e712de97737e6 /controller-server/src/main | |
parent | dfa07c1710906646b6474b10e59a71600a162a8b (diff) |
US locale
Diffstat (limited to 'controller-server/src/main')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java index 0cf1aebeba9..03107718544 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java @@ -152,7 +152,7 @@ public class NotificationsDb { private static Optional<Notification> createReindexNotification(NotificationSource source, Instant at, ClusterMetrics metric) { if (metric.reindexingProgress().isEmpty()) return Optional.empty(); List<String> messages = metric.reindexingProgress().entrySet().stream() - .map(entry -> String.format("document type '%s' (%.1f%% done)", entry.getKey(), 100 * entry.getValue())) + .map(entry -> String.format(Locale.US, "document type '%s' (%.1f%% done)", entry.getKey(), 100 * entry.getValue())) .sorted() .collect(Collectors.toUnmodifiableList()); return Optional.of(new Notification(at, Type.reindex, Level.info, source, messages)); |