Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit d7e5513

Browse files
committed
Add limit param to maintain default behavior../../api/graphite.go
1 parent 7739d5e commit d7e5513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/models/graphite.go

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ type GraphiteTagFindSeries struct {
120120
Expr []string `json:"expr" form:"expr"`
121121
From int64 `json:"from" form:"from"`
122122
Format string `json:"format" form:"format" binding:"Default(seriesjson)"`
123+
Limit int `json:"limit" binding:"Default(0)"`
123124
}
124125

125126
type GraphiteTagFindSeriesResp struct {

0 commit comments

Comments
 (0)