removes empty option in JSON tag
option can not be empty in JSON tag Signed-off-by: chavacava <salvadorcavadini+github@gmail.com>
This commit is contained in:
@ -59,7 +59,7 @@ type serverStats struct {
|
||||
StartTime time.Time `json:"startTime"`
|
||||
} `json:"leaderInfo"`
|
||||
|
||||
RecvAppendRequestCnt uint64 `json:"recvAppendRequestCnt,"`
|
||||
RecvAppendRequestCnt uint64 `json:"recvAppendRequestCnt"`
|
||||
RecvingPkgRate float64 `json:"recvPkgRate,omitempty"`
|
||||
RecvingBandwidthRate float64 `json:"recvBandwidthRate,omitempty"`
|
||||
|
||||
|
Reference in New Issue
Block a user