summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-04-20 22:57:16 +0300
committerPaul Buetow <paul@buetow.org>2023-04-20 22:57:16 +0300
commit1770bba5519236198c5d1a597507e1cb79da16e5 (patch)
tree1178d5e4d24d7ac9ef9e5e8f712e5e7f8044a648
parent6ad6ac48576b5b57224a25628cfc0d3919c7c328 (diff)
fix JSON tags
-rw-r--r--internal/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config.go b/internal/config.go
index 39e2209..e7a152a 100644
--- a/internal/config.go
+++ b/internal/config.go
@@ -11,8 +11,8 @@ import (
type config struct {
EmailTo string
EmailFrom string
- SMTPServer string `json:"omitempty"`
- StateDir string `json:"omitempty"`
+ SMTPServer string `json:"SMTPServer,omitempty"`
+ StateDir string `json:"StateDir,omitempty"`
CheckTimeoutS int
CheckConcurrency int
Checks map[string]check