Skip to content
Snippets Groups Projects
Unverified Commit 90b04309 authored by Juanli Shen's avatar Juanli Shen Committed by GitHub
Browse files

Merge pull request #20069 from AspirinSJL/fix_cast

Fix type unmatch
parents 0bdeca47 4dffd825
No related branches found
No related tags found
No related merge requests found
...@@ -407,7 +407,7 @@ int MetadataCredentialsPluginWrapper::GetMetadata( ...@@ -407,7 +407,7 @@ int MetadataCredentialsPluginWrapper::GetMetadata(
*num_creds_md = 0; *num_creds_md = 0;
*status = GRPC_STATUS_OK; *status = GRPC_STATUS_OK;
*error_details = nullptr; *error_details = nullptr;
return true; return 1;
} }
if (w->plugin_->IsBlocking()) { if (w->plugin_->IsBlocking()) {
// The internals of context may be destroyed if GetMetadata is cancelled. // The internals of context may be destroyed if GetMetadata is cancelled.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment