]> Cypherpunks.ru repositories - nncp.git/commitdiff
Proper json: annotations
authorSergey Matveev <stargrave@stargrave.org>
Fri, 8 Jan 2021 08:41:31 +0000 (11:41 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 8 Jan 2021 08:41:31 +0000 (11:41 +0300)
src/cfg.go

index a37fbdcc320463598b1cf316fc74de0e9f767201..d603a5a40edc948c76ace128c9a0bad8b7686f1c 100644 (file)
@@ -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"`