gs: support other regions than us

This commit is contained in:
sohalt 2023-02-27 07:53:25 +01:00 committed by Michael Eischer
parent 658aa4c0f7
commit ed5b2c2c9b
5 changed files with 20 additions and 2 deletions

View file

@ -10,16 +10,19 @@ var configTests = []struct {
Bucket: "bucketname",
Prefix: "",
Connections: 5,
Region: "us",
}},
{"gs:bucketname:/prefix/directory", Config{
Bucket: "bucketname",
Prefix: "prefix/directory",
Connections: 5,
Region: "us",
}},
{"gs:bucketname:/prefix/directory/", Config{
Bucket: "bucketname",
Prefix: "prefix/directory",
Connections: 5,
Region: "us",
}},
}