forked from TrueCloudLab/distribution
Update swift.go
Signed-off-by: Nikita Tarasov <nikita@mygento.ru>
This commit is contained in:
parent
406d03bdb0
commit
63fe2d1429
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue