summaryrefslogtreecommitdiffstats
path: root/tenant-cd-api
diff options
context:
space:
mode:
authorJon Marius Venstad <jonmv@users.noreply.github.com>2022-08-09 16:40:04 +0200
committerGitHub <noreply@github.com>2022-08-09 16:40:04 +0200
commitc604fcf97026191590ea07d3b61f3035db8090fd (patch)
tree8e79abba748dc2c6a901749b8c68d78a3800dffa /tenant-cd-api
parent0f1eb9a099464aa6a49fc736d4d5f2c8df581ec3 (diff)
remove extra space
Co-authored-by: Valerij Fredriksen <freva@users.noreply.github.com>
Diffstat (limited to 'tenant-cd-api')
-rw-r--r--tenant-cd-api/src/main/java/ai/vespa/hosted/cd/EnabledInInstances.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/EnabledInInstances.java b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/EnabledInInstances.java
index a7c08dfeb18..dfe22dacb11 100644
--- a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/EnabledInInstances.java
+++ b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/EnabledInInstances.java
@@ -36,7 +36,7 @@ class EnabledInInstancesCondition implements ExecutionCondition {
List<String> enablingInstances = List.of(annotation.get().value());
String thisInstance = TestRuntime.get().application().instance();
- String reason = "Enabled in: %s. Current instance: %s.".formatted(enablingInstances.isEmpty() ? "no instances" : " instances " + String.join(", ", enablingInstances), thisInstance);
+ String reason = "Enabled in: %s. Current instance: %s.".formatted(enablingInstances.isEmpty() ? "no instances" : "instances " + String.join(", ", enablingInstances), thisInstance);
return enablingInstances.contains(thisInstance) ? ConditionEvaluationResult.enabled(reason) : ConditionEvaluationResult.disabled(reason);
}