mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-09-23 20:20:07 +00:00
Update server/model/agent.go
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
This commit is contained in:
parent
65a821a956
commit
ef2929e3bd
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ func (a *Agent) GetFilters() (map[string]string, error) {
|
|||
filters["repo"] = "*" // allow all repos by default
|
||||
filters["owner"] = "*" // allow all owners by default
|
||||
} else {
|
||||
filters["owner"] = "*" // we dont have org agents implemented jet
|
||||
filters["owner"] = "*" // we don't have org agents implemented yet
|
||||
// we expect this filter to be set else we fail
|
||||
if _, ok := filters["repo"]; !ok {
|
||||
return nil, ErrFiltersBroken
|
||||
|
|
Loading…
Reference in a new issue