Fix worker failover service comment (#14494)

This commit is contained in:
Eric Gao 2023-07-10 15:54:06 +08:00 committed by GitHub
parent 75d29f6101
commit 0d2ea3e27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -208,13 +208,11 @@ public class WorkerFailoverService {
@Nullable ProcessInstance processInstance,
TaskInstance taskInstance) {
if (processInstance == null) {
// This case should be happened.
log.error(
"Failover task instance error, cannot find the related processInstance form memory, this case shouldn't happened");
return false;
}
if (taskInstance == null) {
// This case should be happened.
log.error("Master failover task instance error, taskInstance is null, this case shouldn't happened");
return false;
}