Merge pull request #31543 from chawlanikhil24/master
Replaced "err" with "nil" & added a comment
This commit is contained in:
commit
3cfc3e30a8
1 changed files with 1 additions and 1 deletions
|
@ -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 := ""
|
||||
|
|
Loading…
Reference in a new issue