Skip to content

Commit

Permalink
try override the credentials in calloptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rockspore committed Feb 26, 2025
1 parent 638c00b commit 06e4620
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, Channel next) {
// If user manually sets a CallCredentials, do not override
// if (callOptions.getCredentials() == null) {
// callOptions = callOptions.withCallCredentials(MoreCallCredentials.from(credentials));
callOptions = callOptions.withCallCredentials(MoreCallCredentials.from(credentials));
// }

ClientCall<ReqT, RespT> call = next.newCall(method, callOptions);
Expand Down

0 comments on commit 06e4620

Please sign in to comment.