Skip to content

Commit

Permalink
ka/gh-1 run bg checks on Register
Browse files Browse the repository at this point in the history
  • Loading branch information
kazhuravlev committed Jun 22, 2024
1 parent d8b1924 commit e7e2155
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ CheckID:
}
}

switch check := check.(type) {
case *bgCheck:
check.run()
}

s.checks = append(s.checks, checkRec{
ID: checkID,
CheckFn: check.check,
Expand Down

0 comments on commit e7e2155

Please sign in to comment.