We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f8aaf6 commit 1394ed7Copy full SHA for 1394ed7
models/actions/runner.go
@@ -201,8 +201,7 @@ func (opts FindRunnerOptions) ToConds() builder.Cond {
201
}
202
cond = cond.And(c)
203
} else if !opts.WithAvailable {
204
- c := builder.NewCond().And(builder.Eq{"repo_id": 0, "owner_id": 0})
205
- cond = cond.And(c)
+ cond = cond.And(builder.Eq{"repo_id": 0, "owner_id": 0})
206
207
208
if opts.Filter != "" {
0 commit comments