Skip to content

Commit

Permalink
fix: add header providers to PublisherStubSettings (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyspb authored Jul 24, 2020
1 parent d56155b commit 6bd5016
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ private Publisher(Builder builder) throws IOException {
.setCredentialsProvider(builder.credentialsProvider)
.setExecutorProvider(FixedExecutorProvider.create(executor))
.setTransportChannelProvider(builder.channelProvider)
.setEndpoint(builder.endpoint);
.setEndpoint(builder.endpoint)
.setHeaderProvider(builder.headerProvider);
stubSettings
.publishSettings()
.setRetryableCodes(
Expand Down

0 comments on commit 6bd5016

Please sign in to comment.