Update server/model/agent.go

Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
This commit is contained in:
6543 2024-03-29 13:04:40 +01:00 committed by GitHub
parent 65a821a956
commit ef2929e3bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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