mirror of
https://github.com/wahyd4/harbor.git
synced 2026-08-17 00:36:35 +10:00
pass go test
This commit is contained in:
@@ -181,7 +181,7 @@ func newRepositoryClient(endpoint string, insecure bool, credential auth.Credent
|
||||
|
||||
authorizer := auth.NewStandardTokenAuthorizer(credential, insecure, scopeType, scopeName, scopeActions...)
|
||||
|
||||
store, err := auth.NewAuthorizerStore(endpoint, authorizer)
|
||||
store, err := auth.NewAuthorizerStore(endpoint, true, authorizer)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user