diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-03 19:23:20 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-03 19:23:20 +0100 |
commit | d3eb1cf3bbf57a33ac2e71a19a150c077011ecd9 (patch) | |
tree | 82cc4504c8de781beaa7ebbb23081152692b54d8 /src/libstore/store-api.cc | |
parent | d140c75530d385431850bed2f2c250f889c43c2f (diff) |
build-remote: Don't use a SSH master
This is unnecessary because we make only one connection.
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 401b001b2..9c755965e 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -708,7 +708,11 @@ ref<Store> openStore(const std::string & uri_) } uri = uri_.substr(0, q); } + return openStore(uri, params); +} +ref<Store> openStore(const std::string & uri, const Store::Params & params) +{ for (auto fun : *RegisterStoreImplementation::implementations) { auto store = fun(uri, params); if (store) return ref<Store>(store); |