mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-12 05:58:23 +02:00
update
This commit is contained in:
parent
aecfcef51a
commit
fa0dec6c9c
@ -371,12 +371,12 @@ func (p *ProjectManager) Update(projectIDOrName interface{}, project *models.Pro
|
||||
}
|
||||
|
||||
// GetAll ...
|
||||
func (p *ProjectManager) GetAll(query *models.ProjectQueryParam) ([]*models.Project, error) {
|
||||
func (p *ProjectManager) GetAll(query *models.ProjectQueryParam, base ...*models.BaseProjectCollection) ([]*models.Project, error) {
|
||||
return nil, errors.New("get all projects is unsupported")
|
||||
}
|
||||
|
||||
// GetTotal ...
|
||||
func (p *ProjectManager) GetTotal(query *models.ProjectQueryParam) (int64, error) {
|
||||
func (p *ProjectManager) GetTotal(query *models.ProjectQueryParam, base ...*models.BaseProjectCollection) (int64, error) {
|
||||
return 0, errors.New("get total of projects is unsupported")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user