Remove lowlevel and update comment

This commit is contained in:
kalidor 2022-03-21 11:01:42 +01:00 committed by Brad Fitzpatrick
parent eed05eef5b
commit c58652a58b
2 changed files with 1 additions and 16 deletions

View File

@ -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"
}
}
```

View File

@ -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,