diff --git a/doc/storage-examples.md b/doc/storage-examples.md index 369ed7431..8eff61b2e 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":"", - "aws_region":"us-west-004", - "aws_access_key":"", - "aws_secret_access_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 298d4f352..bd55b3026 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,