Skip to content

Commit e8f4d58

Browse files
committed
fix(runners): complete match query
1 parent 588b369 commit e8f4d58

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

db/sql/global_runner.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,8 @@ func (d *SqlDb) GetAllRunners(activeOnly bool, globalOnly bool, tagFilterMode db
6565
case db.RunnerFilterIgnoreTags:
6666
// No tag filtering applied.
6767
case db.RunnerFilterTagCompleteMatch:
68-
// A default global runner is included regardless of the requested
69-
// tag. Project runners are not exposed via this method (they go
70-
// through GetRunners), so the rule only loosens matching for
71-
// global runners.
7268
builder = builder.Where(squirrel.Or{
7369
runnerHasTagExpr(*tag),
74-
runnerIsDefaultExpr(),
7570
})
7671
default:
7772
panic("invalid tag filter mode: " + tagFilterMode)

0 commit comments

Comments
 (0)