forked from TrueCloudLab/distribution
Change the default signature to v2 auth
The reason we prefer v2 is that it performs better since it does not hash the payloads.
This commit is contained in:
parent
9b9ea55797
commit
97be787339
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ func FromParameters(parameters map[string]interface{}) (*Driver, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
v4AuthBool := true
|
v4AuthBool := false
|
||||||
v4Auth, ok := parameters["v4auth"]
|
v4Auth, ok := parameters["v4auth"]
|
||||||
if ok {
|
if ok {
|
||||||
v4AuthBool, ok = v4Auth.(bool)
|
v4AuthBool, ok = v4Auth.(bool)
|
||||||
|
|
Loading…
Reference in a new issue