From 49a53c1d3f77ff33e14a95d004a6ce0720293997 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 31 Jul 2018 16:45:49 -0400 Subject: s3 binary cache: support specifying an endpoint Works for uploading and not downloading. --- src/libstore/s3.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstore/s3.hh') diff --git a/src/libstore/s3.hh b/src/libstore/s3.hh index 4f9964003..95d612b66 100644 --- a/src/libstore/s3.hh +++ b/src/libstore/s3.hh @@ -14,9 +14,9 @@ struct S3Helper ref config; ref client; - S3Helper(const std::string & profile, const std::string & region); + S3Helper(const std::string & profile, const std::string & region, const std::string & endpoint); - ref makeConfig(const std::string & region); + ref makeConfig(const std::string & region, const std::string & endpoint); struct DownloadResult { -- cgit v1.2.3