Merge pull request #6059 from jonyhy96/feat-cmd-flag

fix: make exec-id flag required in exec command
This commit is contained in:
Derek McGowan 2021-09-28 19:15:54 -07:00 committed by GitHub
commit d132691f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,6 @@ import (
"github.com/urfave/cli"
)
//TODO:(jessvalarezo) exec-id is optional here, update to required arg
var execCommand = cli.Command{
Name: "exec",
Usage: "execute additional processes in an existing container",
@ -51,8 +50,9 @@ var execCommand = cli.Command{
Usage: "detach from the task after it has started execution",
},
cli.StringFlag{
Name: "exec-id",
Usage: "exec specific id for the process",
Name: "exec-id",
Required: true,
Usage: "exec specific id for the process",
},
cli.StringFlag{
Name: "fifo-dir",