You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update workflows to use the latest image with go 1.24.0 (#6637)
* bump go mod version to 1.24
Signed-off-by: dankrzeminski32 <[email protected]>
* resolve non-constant format string in ErrorF calls
Signed-off-by: dankrzeminski32 <[email protected]>
* update build with go 1.24 dependancies
Signed-off-by: dankrzeminski32 <[email protected]>
---------
Signed-off-by: dankrzeminski32 <[email protected]>
Copy file name to clipboardExpand all lines: pkg/querier/tripperware/queryrange/query_range.go
+4-4
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,9 @@ var (
34
34
SortMapKeys: true,
35
35
ValidateJsonRawMessage: false,
36
36
}.Froze()
37
-
errEndBeforeStart=httpgrpc.Errorf(http.StatusBadRequest, "end timestamp must not be before start time")
38
-
errNegativeStep=httpgrpc.Errorf(http.StatusBadRequest, "zero or negative query resolution step widths are not accepted. Try a positive integer")
39
-
errStepTooSmall=httpgrpc.Errorf(http.StatusBadRequest, "exceeded maximum resolution of 11,000 points per timeseries. Try decreasing the query resolution (?step=XX)")
37
+
errEndBeforeStart=httpgrpc.Errorf(http.StatusBadRequest, "%s", "end timestamp must not be before start time")
38
+
errNegativeStep=httpgrpc.Errorf(http.StatusBadRequest, "%s", "zero or negative query resolution step widths are not accepted. Try a positive integer")
39
+
errStepTooSmall=httpgrpc.Errorf(http.StatusBadRequest, "%s", "exceeded maximum resolution of 11,000 points per timeseries. Try decreasing the query resolution (?step=XX)")
0 commit comments