mirror of
https://github.com/restic/restic.git
synced 2024-12-24 00:37:28 +00:00
Fix debug message
This commit is contained in:
parent
1483e15e4e
commit
c6e1696f07
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ func Open(cfg Config) (backend.Backend, error) {
|
||||||
be.createConnections()
|
be.createConnections()
|
||||||
|
|
||||||
if err := client.BucketExists(cfg.Bucket); err != nil {
|
if err := client.BucketExists(cfg.Bucket); err != nil {
|
||||||
debug.Log("s3.Open", "BucketExists(%v) returned err %v, trying to create the bucket", err)
|
debug.Log("s3.Open", "BucketExists(%v) returned err %v, trying to create the bucket", cfg.Bucket, err)
|
||||||
|
|
||||||
// create new bucket with default ACL in default region
|
// create new bucket with default ACL in default region
|
||||||
err = client.MakeBucket(cfg.Bucket, "", "")
|
err = client.MakeBucket(cfg.Bucket, "", "")
|
||||||
|
|
Loading…
Reference in a new issue