Skip to content

Commit

Permalink
Simplification
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio <[email protected]>
  • Loading branch information
champel committed Feb 17, 2023
1 parent 2b4c4b5 commit feedf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/main/java/io/dapr/client/DaprClientGrpc.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public Mono<Void> publishEvent(PublishEventRequest request) {
envelopeBuilder.putAllMetadata(metadata);
}

return Mono.deferContextual(Mono::just).flatMap(
return Mono.deferContextual(
context ->
this.<Empty>createMono(
it -> intercept(context, asyncStub).publishEvent(envelopeBuilder.build(), it)
Expand Down

0 comments on commit feedf8b

Please sign in to comment.