Fix polling interval validation error message (#2798)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
2
.github/workflows/verify-hibernate.yaml
vendored
2
.github/workflows/verify-hibernate.yaml
vendored
@@ -6,11 +6,13 @@ on:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.3rd-party/**'
|
||||
- 'docs/**'
|
||||
- 'site/**'
|
||||
- '**.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.3rd-party/**'
|
||||
- 'docs/**'
|
||||
- 'site/**'
|
||||
- '**.md'
|
||||
workflow_dispatch:
|
||||
|
||||
2
.github/workflows/verify.yaml
vendored
2
.github/workflows/verify.yaml
vendored
@@ -6,11 +6,13 @@ on:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.3rd-party/**'
|
||||
- 'docs/**'
|
||||
- 'site/**'
|
||||
- '**.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.3rd-party/**'
|
||||
- 'docs/**'
|
||||
- 'site/**'
|
||||
- '**.md'
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user