Fix debug message

This commit is contained in:
Alexander Neumann 2016-01-09 21:24:21 +01:00
parent 1483e15e4e
commit c6e1696f07
1 changed files with 1 additions and 1 deletions

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