From db97f1c1f68d5f95ad2d952225a3e359c2c06a07 Mon Sep 17 00:00:00 2001 From: Johnny Steenbergen <17263167+jsteenb2@users.noreply.github.com> Date: Mon, 12 Oct 2020 16:05:56 -0700 Subject: [PATCH] fix(influx): update default value of list tasks influx command to 100 (#19732) --- cmd/influx/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/influx/task.go b/cmd/influx/task.go index d2b6d2b97f..070e07310c 100644 --- a/cmd/influx/task.go +++ b/cmd/influx/task.go @@ -484,7 +484,7 @@ func taskRunFindCmd(f *globalFlags, opt genericCLIOpts) *cobra.Command { cmd.Flags().StringVarP(&taskRunFindFlags.runID, "run-id", "", "", "run id") cmd.Flags().StringVarP(&taskRunFindFlags.afterTime, "after", "", "", "after time for filtering") cmd.Flags().StringVarP(&taskRunFindFlags.beforeTime, "before", "", "", "before time for filtering") - cmd.Flags().IntVarP(&taskRunFindFlags.limit, "limit", "", 0, "limit the results") + cmd.Flags().IntVarP(&taskRunFindFlags.limit, "limit", "", 100, "limit the results; default is 100") cmd.MarkFlagRequired("task-id")