Skip to content

Commit aa1d241

Browse files
authored
Merge pull request #630 from dgageot/pass-agent
Pass the agent name chosen by the user
2 parents 96eb1fc + f571d68 commit aa1d241

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)