From 663e082161611ad2db70fe1138127e1ac06bd6cb Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Sat, 4 Feb 2023 06:40:24 +0100 Subject: [PATCH] Fix parsing --response-duration in trace command (#4466) --- cmd/admin-trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/admin-trace.go b/cmd/admin-trace.go index f4f8ae7b..20b1bad2 100644 --- a/cmd/admin-trace.go +++ b/cmd/admin-trace.go @@ -86,7 +86,7 @@ var adminTraceFlags = []cli.Flag{ Name: "filter-response", Usage: "trace calls only with response bytes greater than this threshold, use with filter-size", }, - cli.BoolFlag{ + cli.DurationFlag{ Name: "response-duration", Usage: "trace calls only with response duration greater than this threshold (e.g. `5ms`)", },