libstore: rename openConnectionWrapper to something more meaningful

Change-Id: I46c57476ef73c6a8b851ab34ba67872c8f6b826b
This commit is contained in:
eldritch horrors
2026-05-04 09:44:10 +00:00
parent 0d2c48a797
commit 65346101a2
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -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();
}
+1 -1
View File
@@ -178,7 +178,7 @@ public:
struct Connection;
kj::Promise<Result<ref<Connection>>> openConnectionWrapper();
kj::Promise<Result<ref<Connection>>> openConnectionForDaemonForwarding();
protected:
+1 -1
View File
@@ -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);