From 1a7e91ab7334c6651feddf8101b47e8573603527 Mon Sep 17 00:00:00 2001 From: codeskyblue Date: Thu, 8 Sep 2016 16:38:42 +0800 Subject: [PATCH] emitempty start seconds, just leave it --- fsm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsm.go b/fsm.go index f3f1cb5..0cba3ba 100644 --- a/fsm.go +++ b/fsm.go @@ -106,7 +106,7 @@ type Program struct { Dir string `yaml:"directory" json:"directory"` StartAuto bool `yaml:"start_auto" json:"startAuto"` StartRetries int `yaml:"start_retries" json:"startRetries"` - StartSeconds int `yaml:"start_seconds" json:"startSeconds"` + StartSeconds int `yaml:"start_seconds,omitempty" json:"startSeconds"` User string `yaml:"user,omitempty" json:"user"` Notifications struct { Pushover struct {