Merge pull request #1627 from luckyraul/swift_auth_url
Swift auth version param
This commit is contained in:
commit
51d692a29a
2 changed files with 5 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…
Add table
Add a link
Reference in a new issue