Skip to content

Commit

Permalink
Don't append signal path to signal specific endpoint (#10214)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Jan 12, 2024
1 parent 6fde05d commit c418b14
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ static <G, H, E> E applySignalProperties(
String endpoint = signalProperties.getEndpoint();
if (endpoint == null) {
endpoint = properties.getEndpoint();
}
if (endpoint != null) {
if (isHttpProtobuf) {
if (endpoint != null && isHttpProtobuf) {
if (!endpoint.endsWith("/")) {
endpoint += "/";
}
endpoint += signalPath(dataType);
}
}

if (endpoint != null) {
if (isHttpProtobuf) {
setHttpEndpoint.accept(httpBuilder, endpoint);
} else {
Expand Down

0 comments on commit c418b14

Please sign in to comment.