Merge pull request #31543 from chawlanikhil24/master

Replaced "err" with  "nil" & added a comment
This commit is contained in:
Sebastiaan van Stijn 2017-03-06 15:11:14 +01:00 committed by GitHub
commit 3b8ecc089b
1 changed files with 1 additions and 1 deletions

View File

@ -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 := ""