mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
monitor: update exec failure message when no args are passed
"exec" does not take a server name, so we can rename the error check here. Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
parent
48b733d6da
commit
e4ff82f864
@ -248,7 +248,7 @@ func RunMonitor(ctx context.Context, curRef string, options *controllerapi.Build
|
||||
fmt.Fprintf(stdout, "Attached to process %q. Press Ctrl-a-c to switch to the new container\n", id)
|
||||
case "exec":
|
||||
if len(args) < 2 {
|
||||
fmt.Println("exec: server name must be passed")
|
||||
fmt.Println("attach: command must be passed")
|
||||
continue
|
||||
}
|
||||
if curRef == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user