summaryrefslogtreecommitdiffstats
path: root/tenant-cd-api
diff options
context:
space:
mode:
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);
}