Skip to content

Commit

Permalink
Merge pull request #545 from jeqo/jeqo/fix-noproxy-causes
Browse files Browse the repository at this point in the history
fix: extend possible root causes message
  • Loading branch information
ivanyu committed May 16, 2024
2 parents e0faa94 + 33784e2 commit dc082df
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ protected Map<String, Object> storageConfigForNoProxy() {

@Override
protected Iterable<String> possibleRootCauseMessagesWhenNoProxy() {
// Either - or, it seems it depends on the JVM version.
// Either - or, it seems it depends on the JVM version or OS.
final String possibleMessage1 = String.format(
"%s: Temporary failure in name resolution", azuriteContainerNetworkAlias);
final String possibleMessage2 = String.format("%s: Name or service not known", azuriteContainerNetworkAlias);
return List.of(possibleMessage1, possibleMessage2);
final String possibleMessage3 = String.format(
"%s: nodename nor servname provided, or not known", azuriteContainerNetworkAlias);
return List.of(possibleMessage1, possibleMessage2, possibleMessage3);
}
}

0 comments on commit dc082df

Please sign in to comment.