Skip to content

Commit

Permalink
Only if machine.Config.Checks is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
rugwirobaker committed Oct 10, 2022
1 parent 6c1d55a commit 06135a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/watch/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func MachinesChecks(ctx context.Context, machines []*api.Machine) (err error) {
}

for _, machine := range checked {
if machine.Config.Checks == nil || machine.Checks == nil {
if machine.Config.Checks == nil {
continue
}

Expand Down

0 comments on commit 06135a4

Please sign in to comment.