libstore: rename openConnectionWrapper to something more meaningful
Change-Id: I46c57476ef73c6a8b851ab34ba67872c8f6b826b
This commit is contained in:
@@ -54,8 +54,7 @@ RemoteStore::RemoteStore(const RemoteStoreConfig & config)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
kj::Promise<Result<ref<RemoteStore::Connection>>> RemoteStore::openConnectionWrapper()
|
||||
kj::Promise<Result<ref<RemoteStore::Connection>>> RemoteStore::openConnectionForDaemonForwarding()
|
||||
{
|
||||
return openConnection();
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ public:
|
||||
|
||||
struct Connection;
|
||||
|
||||
kj::Promise<Result<ref<Connection>>> openConnectionWrapper();
|
||||
kj::Promise<Result<ref<Connection>>> openConnectionForDaemonForwarding();
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
+1
-1
@@ -531,7 +531,7 @@ daemonInstance(AsyncIoRoot & aio, std::optional<TrustedFlag> forceTrustClientOpt
|
||||
*/
|
||||
static void forwardStdioConnection(AsyncIoRoot & aio, RemoteStore & store)
|
||||
{
|
||||
auto conn = aio.blockOn(store.openConnectionWrapper());
|
||||
auto conn = aio.blockOn(store.openConnectionForDaemonForwarding());
|
||||
auto connSocket = AIO().lowLevelProvider.wrapSocketFd(conn->getFD());
|
||||
auto asyncStdin = AIO().lowLevelProvider.wrapInputFd(STDIN_FILENO);
|
||||
auto asyncStdout = AIO().lowLevelProvider.wrapOutputFd(STDOUT_FILENO);
|
||||
|
||||
Reference in New Issue
Block a user