Skip to content

Commit f571d68

Browse files
committed
Pass the agent name chosen by the user
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent 96eb1fc commit f571d68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/root/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func doRunCommand(ctx context.Context, args []string, exec bool) error {
279279
}
280280

281281
remoteRt, err := runtime.NewRemoteRuntime(remoteClient,
282-
runtime.WithRemoteCurrentAgent("root"),
282+
runtime.WithRemoteCurrentAgent(agentName),
283283
runtime.WithRemoteAgentFilename(args[0]),
284284
)
285285
if err != nil {

0 commit comments

Comments
 (0)