[MINOR] Fix typo in ExceptionUtils

### What changes were proposed in this pull request?
Fix typo.

### Why are the changes needed?
The error message was changed in [this pull request](https://github.com/apache/celeborn/pull/1097), but the connectFail method in org.apache.celeborn.common.util.ExceptionUtils has not been updated.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
No need.

Closes #2841 from jiang13021/minor-cause-typo.

Authored-by: jiang13021 <jiangyanze.jyz@antgroup.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
This commit is contained in:
jiang13021 2024-10-23 16:08:16 +08:00 committed by mingji
parent 5b2030037a
commit 7018996e24

View File

@ -63,6 +63,6 @@ public class ExceptionUtils {
public static boolean connectFail(String message) {
return (message.startsWith("Connection from ") && message.endsWith(" closed"))
|| (message.equals("Connection reset by peer"))
|| (message.startsWith("Failed to send RPC "));
|| (message.startsWith("Failed to send request "));
}
}