Skip to content

Commit

Permalink
fix(agent): use correct environment id when starting manually (#4041)
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren authored Oct 7, 2024
1 parent 9e293f2 commit 3d9ae83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (s *Runner) onStartAgent(ctx context.Context, cfg config.Config) {
return
}

err = s.StartAgent(ctx, cfg, agentToken, "")
err = s.StartAgent(ctx, cfg, agentToken, cfg.EnvironmentID)
if err != nil {
s.ui.Error(err.Error())
}
Expand Down

0 comments on commit 3d9ae83

Please sign in to comment.