From debedf98cf28c9963c82aa1c947dc974c96c111a Mon Sep 17 00:00:00 2001 From: UmairShahzad <18100099@lums.edu.pk> Date: Wed, 4 Mar 2020 02:36:38 +0500 Subject: [PATCH] include int in command reset to reset 'Limit' --- command/pr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/pr_test.go b/command/pr_test.go index 09bb9c852..ad092a267 100644 --- a/command/pr_test.go +++ b/command/pr_test.go @@ -57,7 +57,7 @@ func RunCommand(cmd *cobra.Command, args string) (*cmdOut, error) { v.Replace([]string{}) default: switch v.Type() { - case "bool", "string": + case "bool", "string", "int": v.Set(f.DefValue) } }