From 73309aa009702dbcb5ac0c32499c984797ba9f4b Mon Sep 17 00:00:00 2001 From: Nikhil Chawla Date: Mon, 6 Mar 2017 17:31:04 +0530 Subject: [PATCH] Fixed the typo in the code Signed-off-by: Nikhil Chawla --- cli/cobra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cobra.go b/cli/cobra.go index 962b314412..b01774f04a 100644 --- a/cli/cobra.go +++ b/cli/cobra.go @@ -30,7 +30,7 @@ func SetupRootCommand(rootCmd *cobra.Command) { // docker/docker/cli error messages func FlagErrorFunc(cmd *cobra.Command, err error) error { if err == nil { - return err + return nil } usage := ""