2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-25 04:05:58 +00:00

Fix debug message

This commit is contained in:
Alexander Neumann 2016-01-09 21:24:21 +01:00
parent 1483e15e4e
commit c6e1696f07

View File

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