mirror of https://github.com/restic/restic.git
Fix debug message
This commit is contained in:
parent
1483e15e4e
commit
c6e1696f07
|
@ -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 New Issue