mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-11 13:53:16 +00:00
Merge pull request #594 from alecuyer/fix/swift
Call Authenticate() before using Swift storage
This commit is contained in:
@@ -129,6 +129,11 @@ func CreateSwiftStorage(storageURL string, key string, threads int) (storage *Sw
|
|||||||
TrustId: arguments["trust_id"],
|
TrustId: arguments["trust_id"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = connection.Authenticate()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
_, _, err = connection.Container(container)
|
_, _, err = connection.Container(container)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user