diff options
author | Graham Christensen <graham.christensen@target.com> | 2018-07-31T20·45-0400 |
---|---|---|
committer | Graham Christensen <graham.christensen@target.com> | 2018-08-02T12·19-0400 |
commit | 49a53c1d3f77ff33e14a95d004a6ce0720293997 (patch) | |
tree | 927f513b4fecc79b790ca266aa012393bac9dd6f /src/libstore/s3.hh | |
parent | 3193f5ff3eb54b40b3330b26bc1eb89c4c4a3015 (diff) |
s3 binary cache: support specifying an endpoint
Works for uploading and not downloading.
Diffstat (limited to 'src/libstore/s3.hh')
-rw-r--r-- | src/libstore/s3.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/s3.hh b/src/libstore/s3.hh index 4f996400343c..95d612b66335 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(const std::string & profile, const std::string & region); + S3Helper(const std::string & profile, const std::string & region, const std::string & endpoint); - ref<Aws::Client::ClientConfiguration> makeConfig(const std::string & region); + ref<Aws::Client::ClientConfiguration> makeConfig(const std::string & region, const std::string & endpoint); struct DownloadResult { |