aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.hh
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-05-04 10:35:34 +0200
committerregnat <rg@regnat.ovh>2021-05-04 10:35:34 +0200
commitdadfbce318c53ae0c53121deab6ab7e07c396164 (patch)
tree13070336fa1347067f9d667b9d5667853ce99ace /src/libstore/binary-cache-store.hh
parentef13c9c2236f06a6bd41a19d28a7feff3aae7dc8 (diff)
Fix the double-slash in the realisations path
Make sure that we always access the realisations under `binaryCacheUrl/realisations` and not `binaryCacheUrl//realisations` Fix #4766
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index c2163166c..657be2fcf 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -34,7 +34,7 @@ private:
protected:
// The prefix under which realisation infos will be stored
- const std::string realisationsPrefix = "/realisations";
+ const std::string realisationsPrefix = "realisations";
BinaryCacheStore(const Params & params);