Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libstore: ssh-ng: forward the default setOptions #2994

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/libstore/remote-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ void RemoteStore::initConnection(Connection & conn)
}


/* TODO Add a way to explicitly ask for some options to be
forwarded. One option: A way to query the daemon for its
settings, and then a series of params to SSHStore like
forward-cores or forward-overridden-cores that only
override the requested settings.
*/
void RemoteStore::setOptions(Connection & conn)
{
conn.to << wopSetOptions
Expand Down
10 changes: 0 additions & 10 deletions src/libstore/ssh-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,6 @@ class SSHStore : public RemoteStore
std::string host;

SSHMaster master;

void setOptions(RemoteStore::Connection & conn) override
{
/* TODO Add a way to explicitly ask for some options to be
forwarded. One option: A way to query the daemon for its
settings, and then a series of params to SSHStore like
forward-cores or forward-overridden-cores that only
override the requested settings.
*/
};
};

void SSHStore::narFromPath(const Path & path, Sink & sink)
Expand Down