mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-20 19:12:54 +02:00
commit
843c4d4ba2
|
@ -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