Skip to content

Commit

Permalink
[Bug] Fix #286
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed committed Feb 27, 2024
1 parent f0630f7 commit 110e7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (db *DB) FindJobs(fqn string) ([]*batchv1.Job, error) {
continue
}
for _, o := range jo.OwnerReferences {
if o.Controller == nil && !*o.Controller {
if o.Controller == nil || !*o.Controller {
continue
}
if o.Name == cn {
Expand Down

0 comments on commit 110e7aa

Please sign in to comment.