fix signal passing to mobycli

Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
aiordache 2020-08-04 17:41:49 +02:00 committed by Guillaume Tardif
parent e0f8289f1c
commit d1b8bcb2c7
8 changed files with 17 additions and 20 deletions

View file

@ -70,7 +70,8 @@ $ docker context create my-context --description "some description" --docker "ho
Use: "create CONTEXT",
Short: "Create new context",
RunE: func(cmd *cobra.Command, args []string) error {
return mobycli.ExecCmd(cmd)
mobycli.Exec()
return nil
},
Long: longHelp,
}