From 1770bba5519236198c5d1a597507e1cb79da16e5 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 20 Apr 2023 22:57:16 +0300 Subject: fix JSON tags --- internal/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal') 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 -- cgit v1.2.3