mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Fixed the typo in the code
Signed-off-by: Nikhil Chawla <chawlanikhil24@gmail.com>
Upstream-commit: 80a8d7ca26
Component: cli
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