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
|
- master
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '.3rd-party/**'
|
- '.3rd-party/**'
|
||||||
|
- 'docs/**'
|
||||||
- 'site/**'
|
- 'site/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '.3rd-party/**'
|
- '.3rd-party/**'
|
||||||
|
- 'docs/**'
|
||||||
- 'site/**'
|
- 'site/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
2
.github/workflows/verify.yaml
vendored
2
.github/workflows/verify.yaml
vendored
@@ -6,11 +6,13 @@ on:
|
|||||||
- master
|
- master
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '.3rd-party/**'
|
- '.3rd-party/**'
|
||||||
|
- 'docs/**'
|
||||||
- 'site/**'
|
- 'site/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '.3rd-party/**'
|
- '.3rd-party/**'
|
||||||
|
- 'docs/**'
|
||||||
- 'site/**'
|
- 'site/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class TenantConfigurationPollingTimeValidator extends TenantConfiguration
|
|||||||
}
|
}
|
||||||
if (pollingInterval.compareTo(maxPollingInterval) > 0) {
|
if (pollingInterval.compareTo(maxPollingInterval) > 0) {
|
||||||
throw new TenantConfigurationValidatorException(String.format(
|
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)));
|
DurationHelper.toString(minPollingInterval), DurationHelper.toString(maxPollingInterval)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user