[#78] enable fully qualified URIs for S3 endpoints and improved error reporting when uploading or deleting files

This commit is contained in:
Gani Georgiev committed 2022-07-11 21:00:17 +03:00
1 parent 52c288d9db
commit 46399dddac
3 files changed
+29 -6

No files matched your search

+13 -1
View File
@@ -315,7 +315,19 @@ func TestS3ConfigValidate(t *testing.T) {
},
true,
},
// valid data
// valid data (url endpoint)
{
core.S3Config{
Enabled: true,
Endpoint: "https://localhost:8090",
Bucket: "test",
Region: "test",
AccessKey: "test",
Secret: "test",
},
false,
},
// valid data (hostname endpoint)
{
core.S3Config{
Enabled: true,