Fix polling interval validation error message (#2798)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-11-11 12:16:49 +02:00
committed by GitHub
parent 96cfbde436
commit 7e20900175
3 changed files with 5 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ public class TenantConfigurationPollingTimeValidator extends TenantConfiguration
}
if (pollingInterval.compareTo(maxPollingInterval) > 0) {
throw new TenantConfigurationValidatorException(String.format(
"The polling interval is bigger then minimum polling interval. The allowed range is [%s, %s].",
"The polling interval is bigger then maximum polling interval. The allowed range is [%s, %s].",
DurationHelper.toString(minPollingInterval), DurationHelper.toString(maxPollingInterval)));
}
}