Skip to content

Commit ba6e5cd

Browse files
authored
Merge pull request #1745 from jedevc/remote-unneccessary-exec-server-name
monitor: update check for exec args
2 parents 48b733d + e4ff82f commit ba6e5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monitor/monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func RunMonitor(ctx context.Context, curRef string, options *controllerapi.Build
248248
fmt.Fprintf(stdout, "Attached to process %q. Press Ctrl-a-c to switch to the new container\n", id)
249249
case "exec":
250250
if len(args) < 2 {
251-
fmt.Println("exec: server name must be passed")
251+
fmt.Println("attach: command must be passed")
252252
continue
253253
}
254254
if curRef == "" {

0 commit comments

Comments
 (0)