Skip to content

Commit

Permalink
Fix formatting of numbers when actually called
Browse files Browse the repository at this point in the history
  • Loading branch information
eswdd committed Dec 9, 2019
1 parent 26c2f14 commit 89216b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func (store *OpenTSDBStore) composeOpenTSDBQuery(req *storepb.SeriesRequest) (op
if addAgg {
subQueries[(i*aggregationCount)+aggregationIndex] = opentsdb.SubQuery{
Aggregator: "none",
Downsample: string(downsampleSecs) + "s-" + downsample,
Downsample: fmt.Sprintf("%vs-%s", downsampleSecs, downsample),
Metric: mn,
Fiters: tagFilters,
}
Expand Down

0 comments on commit 89216b3

Please sign in to comment.