mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +01: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")
|
client, err := newClient(endpoint, username, nil, "repository", name, "pull", "push")
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
repository := &Repository{
|
repository := &Repository{
|
||||||
Name: name,
|
Name: name,
|
||||||
|
Loading…
Reference in New Issue
Block a user