https://github.com/perkeep/perkeep/commit/c58652a58bce9963fd715eff941c838e0ae302aa
commit c58652a58bce9963fd715eff941c838e0ae302aa
Author: kalidor <
kal...@unixed.fr>
Date: Mon Mar 21 11:01:42 2022 +0100
Remove lowlevel and update comment
diff --git a/doc/storage-examples.md b/doc/storage-examples.md
index 369ed74..8eff61b 100644
--- a/doc/storage-examples.md
+++ b/doc/storage-examples.md
@@ -72,18 +72,3 @@ Finally, add the b2 config line to your perkeep `server-config.json`:
```
- `endpoint` can be found on the backblaze buckets' interface
https://secure.backblaze.com/b2_buckets.htm.
-
-Using low-level configuration:
-
-```json
-"/bs2/": {
- "handler": "storage-s3",
- "handlerArgs":{
- "bucket":"<BUCKET>",
- "aws_region":"us-west-004",
- "aws_access_key":"<API_KEY>",
- "aws_secret_access_key":"<APPLICATION_KEY>",
- "hostname":"
s3.us-west-004.backblazeb2.com"
- }
- }
-```
\ No newline at end of file
diff --git a/pkg/blobserver/s3/s3_preflight.go b/pkg/blobserver/s3/s3_preflight.go
index 298d4f3..bd55b30 100644
--- a/pkg/blobserver/s3/s3_preflight.go
+++ b/pkg/blobserver/s3/s3_preflight.go
@@ -77,7 +77,7 @@ func normalizeBucketLocation(ctx context.Context, cfg client.ConfigProvider, end
if err != nil {
return bucketInfo{}, err
}
- // if isAWS is false, this is b2 related
+ // if isAWS is false, the target also supports AWS s3 API
if !isAWS {
return bucketInfo{
endpoint: endpoint,