diff options
author | regnat <rg@regnat.ovh> | 2020-09-14 14:04:02 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2020-09-16 13:53:09 +0200 |
commit | b73adacc1ebda8a790cd8e0b0988c3b0607d947a (patch) | |
tree | 08e8416aa8b4db343dbe7f10b07abadca58a49f1 /src/libstore/s3-binary-cache-store.cc | |
parent | f24f0888f93b0881e2cefa1ceb4c8fc187c94f21 (diff) |
Add a name to the stores
So that it can be printed by `nix describe-stores`
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r-- | src/libstore/s3-binary-cache-store.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index e4548dd22..0b9c9bb31 100644 --- a/src/libstore/s3-binary-cache-store.cc +++ b/src/libstore/s3-binary-cache-store.cc @@ -186,6 +186,8 @@ struct S3BinaryCacheStoreConfig : virtual BinaryCacheStoreConfig this, false, "multipart-upload", "whether to use multi-part uploads"}; const Setting<uint64_t> bufferSize{ this, 5 * 1024 * 1024, "buffer-size", "size (in bytes) of each part in multi-part uploads"}; + + const std::string name() override { return "S3 Binary Cache Store"; } }; struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore, virtual S3BinaryCacheStoreConfig |