mirror of
https://github.com/docker/compose.git
synced 2026-09-01 07:11:06 +00:00
fix signal passing to mobycli
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
e0f8289f1c
commit
d1b8bcb2c7
8 changed files with 17 additions and 20 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@ func inspectCommand() *cobra.Command {
|
|||
Use: "inspect",
|
||||
Short: "Display detailed information on one or more contexts",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return mobycli.ExecCmd(cmd)
|
||||
mobycli.Exec()
|
||||
return nil
|
||||
},
|
||||
}
|
||||
// flags matching delegated command in moby cli
|
||||
|
|
|
|||
|
|
@ -69,7 +69,8 @@ func runList(cmd *cobra.Command, opts lsOpts) error {
|
|||
return err
|
||||
}
|
||||
if opts.format != "" {
|
||||
return mobycli.ExecCmd(cmd)
|
||||
mobycli.Exec()
|
||||
return nil
|
||||
}
|
||||
|
||||
ctx := cmd.Context()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue