Update swift.go

Signed-off-by: Nikita Tarasov <nikita@mygento.ru>
This commit is contained in:
Nikita 2016-04-13 19:32:10 +04:00 committed by Nikita Tarasov
parent c6f63e298e
commit e6f8d7c28e

View file

@ -69,6 +69,7 @@ type Parameters struct {
DomainID string
TrustID string
Region string
AuthVersion int
Container string
Prefix string
InsecureSkipVerify bool
@ -174,6 +175,7 @@ func New(params Parameters) (*Driver, error) {
ApiKey: params.Password,
AuthUrl: params.AuthURL,
Region: params.Region,
AuthVersion: params.AuthVersion,
UserAgent: "distribution/" + version.Version,
Tenant: params.Tenant,
TenantId: params.TenantID,