summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index bd13680..5a953ba 100644
--- a/main.go
+++ b/main.go
@@ -53,6 +53,8 @@ func main() {
defer cancel()
output, status := check.execute(ctx)
+ // TODO: Send the results through a channel, so we dont have to put a mutex
+ // into state.
state.update(name, output, status)
}(entry.name, entry.check)
}