diff --git a/src/duplicacy_swiftstorage.go b/src/duplicacy_swiftstorage.go index 3d36057..da5eeed 100644 --- a/src/duplicacy_swiftstorage.go +++ b/src/duplicacy_swiftstorage.go @@ -129,6 +129,11 @@ func CreateSwiftStorage(storageURL string, key string, threads int) (storage *Sw TrustId: arguments["trust_id"], } + err = connection.Authenticate() + if err != nil { + return nil, err + } + _, _, err = connection.Container(container) if err != nil { return nil, err