mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #31543 from chawlanikhil24/master
Replaced "err" with "nil" & added a comment Upstream-commit: 3cfc3e30a886aef1a5e767d5b2a9a7b2c156c5f9 Component: engine
This commit is contained in:
@@ -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 := ""
|
||||
|
||||
Reference in New Issue
Block a user