1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-22 19:23:36 +00:00

Add minios to test storages

This commit is contained in:
Gilbert Chen
2017-07-13 14:06:36 -04:00
parent 483ae5e6eb
commit 6a4b1f2a3f

View File

@@ -70,6 +70,8 @@ func loadStorage(localStoragePath string, threads int) (Storage, error) {
return CreateS3CStorage(storage["region"], storage["endpoint"], storage["bucket"], storage["directory"], storage["access_key"], storage["secret_key"], threads)
} else if testStorageName == "minio" {
return CreateS3Storage(storage["region"], storage["endpoint"], storage["bucket"], storage["directory"], storage["access_key"], storage["secret_key"], threads, false, true)
} else if testStorageName == "minios" {
return CreateS3Storage(storage["region"], storage["endpoint"], storage["bucket"], storage["directory"], storage["access_key"], storage["secret_key"], threads, true, true)
} else if testStorageName == "dropbox" {
return CreateDropboxStorage(storage["token"], storage["directory"], threads)
} else if testStorageName == "b2" {