s3: Remove default prefix "/restic"

This commit is contained in:
Alexander Neumann 2017-11-20 22:29:15 +01:00
parent e83ec17e95
commit 262b0cd9d4
3 changed files with 19 additions and 21 deletions

View file

@ -169,7 +169,7 @@ var parseTests = []struct {
Config: s3.Config{
Endpoint: "eu-central-1",
Bucket: "bucketname",
Prefix: "restic",
Prefix: "",
Connections: 5,
},
},
@ -180,7 +180,7 @@ var parseTests = []struct {
Config: s3.Config{
Endpoint: "hostname.foo",
Bucket: "bucketname",
Prefix: "restic",
Prefix: "",
Connections: 5,
},
},
@ -202,7 +202,7 @@ var parseTests = []struct {
Config: s3.Config{
Endpoint: "eu-central-1",
Bucket: "repo",
Prefix: "restic",
Prefix: "",
Connections: 5,
},
},
@ -224,7 +224,7 @@ var parseTests = []struct {
Config: s3.Config{
Endpoint: "hostname.foo",
Bucket: "repo",
Prefix: "restic",
Prefix: "",
Connections: 5,
},
},
@ -246,7 +246,7 @@ var parseTests = []struct {
Config: s3.Config{
Endpoint: "hostname.foo",
Bucket: "repo",
Prefix: "restic",
Prefix: "",
UseHTTP: true,
Connections: 5,
},