mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-28 03:27:41 +01:00
pass go test
This commit is contained in:
parent
5fbe2c1a72
commit
eebf520ed5
@ -181,7 +181,7 @@ func newRepositoryClient(endpoint string, insecure bool, credential auth.Credent
|
|||||||
|
|
||||||
authorizer := auth.NewStandardTokenAuthorizer(credential, insecure, scopeType, scopeName, scopeActions...)
|
authorizer := auth.NewStandardTokenAuthorizer(credential, insecure, scopeType, scopeName, scopeActions...)
|
||||||
|
|
||||||
store, err := auth.NewAuthorizerStore(endpoint, authorizer)
|
store, err := auth.NewAuthorizerStore(endpoint, true, authorizer)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user