mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-14 22:35:36 +01:00
fix #450
This commit is contained in:
parent
af1db227d9
commit
6b88d4a0dc
@ -99,6 +99,9 @@ func NewRepositoryWithUsername(name, endpoint, username string) (*Repository, er
|
||||
}
|
||||
|
||||
client, err := newClient(endpoint, username, nil, "repository", name, "pull", "push")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
repository := &Repository{
|
||||
Name: name,
|
||||
|
Loading…
Reference in New Issue
Block a user