about summary refs log tree commit diff
path: root/src/libstore/s3.hh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-03-03T21·12-0500
committerShea Levy <shea@shealevy.com>2017-03-03T21·12-0500
commit5789eaa3f45cadec719b4f642de2169b8b0a56c4 (patch)
treec46c122af0ff474267882643ddcf6c1ea3bf6ede /src/libstore/s3.hh
parentd1158bb8168804b27508972988d4b85ba9d5e49d (diff)
Add aws-region param to S3 store URLs
Diffstat (limited to 'src/libstore/s3.hh')
-rw-r--r--src/libstore/s3.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/s3.hh b/src/libstore/s3.hh
index 5d5d3475c449..08a7fbf96e98 100644
--- a/src/libstore/s3.hh
+++ b/src/libstore/s3.hh
@@ -14,9 +14,9 @@ struct S3Helper
     ref<Aws::Client::ClientConfiguration> config;
     ref<Aws::S3::S3Client> client;
 
-    S3Helper();
+    S3Helper(const std::string & region);
 
-    ref<Aws::Client::ClientConfiguration> makeConfig();
+    ref<Aws::Client::ClientConfiguration> makeConfig(const std::string & region);
 
     struct DownloadResult
     {