We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0abc08f commit 6a3025fCopy full SHA for 6a3025f
1 file changed
dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/config/WorkerConfig.java
@@ -65,7 +65,7 @@ public boolean supports(Class<?> clazz) {
65
public void validate(Object target, Errors errors) {
66
WorkerConfig workerConfig = (WorkerConfig) target;
67
if (workerConfig.getMaxHeartbeatInterval().getSeconds() <= 0) {
68
- errors.rejectValue("max-heartbeat-interval", null, "shoule be a valid duration");
+ errors.rejectValue("max-heartbeat-interval", null, "should be a valid duration");
69
}
70
if (StringUtils.isEmpty(workerConfig.getWorkerAddress())) {
71
workerConfig.setWorkerAddress(NetUtils.getAddr(workerConfig.getListenPort()));
0 commit comments