Merge pull request #1745 from jedevc/remote-unneccessary-exec-server-name

monitor: update check for exec args
pull/1749/head
Justin Chadwell 2 years ago committed by GitHub
commit ba6e5cddb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save