Merge pull request #14160 from chavacava/patch-1

removes empty option in JSON tag
This commit is contained in:
Marek Siarkowicz 2022-06-26 18:55:51 +02:00 committed by GitHub
commit 815e05d226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"`