From 4f5346d120168d71af6cd15efa3acaeb3b173041 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 8 Jan 2021 11:41:31 +0300 Subject: [PATCH] Proper json: annotations --- src/cfg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cfg.go b/src/cfg.go index a37fbdc..d603a5a 100644 --- a/src/cfg.go +++ b/src/cfg.go @@ -107,9 +107,9 @@ type NotifyJSON struct { type CfgJSON struct { Spool string `json:"spool"` Log string `json:"log"` - Umask string `json:"umask",omitempty` + Umask string `json:"umask,omitempty"` - OmitPrgrs bool `json:"noprogress",omitempty` + OmitPrgrs bool `json:"noprogress,omitempty"` Notify *NotifyJSON `json:"notify,omitempty"` -- 2.48.1