diff options
Diffstat (limited to 'src/buildtool/serve_api/remote/source_tree_client.cpp')
-rw-r--r-- | src/buildtool/serve_api/remote/source_tree_client.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buildtool/serve_api/remote/source_tree_client.cpp b/src/buildtool/serve_api/remote/source_tree_client.cpp index 7a922671..994fcc21 100644 --- a/src/buildtool/serve_api/remote/source_tree_client.cpp +++ b/src/buildtool/serve_api/remote/source_tree_client.cpp @@ -61,9 +61,10 @@ auto PragmaSpecialToSymlinksResolve( SourceTreeClient::SourceTreeClient( ServerAddress const& address, - gsl::not_null<Auth const*> const& auth) noexcept { - stub_ = justbuild::just_serve::SourceTree::NewStub( - CreateChannelWithCredentials(address.host, address.port, auth)); + gsl::not_null<RemoteContext const*> const& remote_context) noexcept { + stub_ = + justbuild::just_serve::SourceTree::NewStub(CreateChannelWithCredentials( + address.host, address.port, remote_context->auth)); } auto SourceTreeClient::ServeCommitTree(std::string const& commit_id, |