Skip to content

Commit

Permalink
fix per review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rodireich committed Sep 8, 2023
1 parent 88f38ec commit b3f5c54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ ClientSession openTunnel(final SshClient client) {
}
}

private boolean isTimeout(Exception e) {
private boolean isTimeout(final Exception e) {
return e.getMessage().toLowerCase(Locale.ROOT).contains("failed to get operation result within specified timeout")
|| e.getMessage().contains("Failed (ConnectException) to execute: Connection refused");
}
Expand Down

0 comments on commit b3f5c54

Please sign in to comment.