From 6d37224f458fd9cac08f09f1d273ab5237599e12 Mon Sep 17 00:00:00 2001 From: pmahindrakar-oss Date: Tue, 12 Apr 2022 23:22:54 +0530 Subject: [PATCH] Adding overriden filter for get workflow (#310) Signed-off-by: Prafulla Mahindrakar --- flytectl/cmd/config/subcommand/workflow/workflow_config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flytectl/cmd/config/subcommand/workflow/workflow_config.go b/flytectl/cmd/config/subcommand/workflow/workflow_config.go index 34049e08b90..a731cd2f250 100644 --- a/flytectl/cmd/config/subcommand/workflow/workflow_config.go +++ b/flytectl/cmd/config/subcommand/workflow/workflow_config.go @@ -7,8 +7,12 @@ import ( //go:generate pflags Config --default-var DefaultConfig --bind-default-var var ( + wfDefaultFilter = filters.Filters{ + Limit: filters.DefaultLimit, + Page: 1, + } DefaultConfig = &Config{ - Filter: filters.DefaultFilter, + Filter: wfDefaultFilter, } )