Skip to content

Commit

Permalink
Use generated hostname when shared network is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianonicolai committed Jul 23, 2024
1 parent ffafe44 commit 6d0b723
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,5 +313,10 @@ public String getReplicaSetUrl(String databaseName) {
return super.getReplicaSetUrl(databaseName);
}
}

@Override
public String getHost() {
return useSharedNetwork ? hostName : super.getHost();
}
}
}

0 comments on commit 6d0b723

Please sign in to comment.