WIP: Add select checkboxes for queue filters

This commit is contained in:
Ken Hibino
2021-12-18 14:09:48 -08:00
parent eabe96eb48
commit ece5f0a6bb
5 changed files with 160 additions and 30 deletions

View File

@@ -146,7 +146,7 @@ func extractMetricsFetchOptions(r *http.Request) (*metricsFetchOptions, error) {
}
opts.duration = time.Duration(val) * time.Second
}
if t := q.Get("end_time"); t != "" {
if t := q.Get("endtime"); t != "" {
val, err := strconv.Atoi(t)
if err != nil {
return nil, fmt.Errorf("invalid value provided for end_time: %q", t)