omit empty LastSuccessfulAttemptStartTime
This commit is contained in:
parent
8d078d04de
commit
898f17aabb
|
@ -8,4 +8,5 @@
|
|||
/state/
|
||||
/merlin
|
||||
/merlin.sock
|
||||
/cmd/arthur/arthur
|
||||
/test_tmp
|
||||
|
|
|
@ -22,7 +22,7 @@ type RepoStatusInfo struct {
|
|||
IsRunning bool `json:"is_running"`
|
||||
LastAttemptStartTime int64 `json:"last_attempt_time"`
|
||||
LastAttemptExit string `json:"last_attempt_exit"`
|
||||
LastSuccessfulAttemptStartTime int64 `json:"last_successful_attempt_time"`
|
||||
LastSuccessfulAttemptStartTime int64 `json:"last_successful_attempt_time,omitempty"`
|
||||
NextSyncTime int64 `json:"next_sync_time"`
|
||||
}
|
||||
type StatusInfo struct {
|
||||
|
|
Loading…
Reference in New Issue