summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-04-17 23:21:51 +0300
committerPaul Buetow <paul@buetow.org>2023-04-17 23:21:51 +0300
commit42fd5cf8be3debecb41886c5ce5456b86eba5ec6 (patch)
tree10922874c1a573d0f6b2450872fc557550f9fe45
parent33c240656582dbe5ff5f5827344ecb0ad9923a44 (diff)
add todo
-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)
}