autopilot: revert passing ctx to Start methods

This commit is contained in:
Elle Mouton committed 2025-05-22 14:14:40 +02:00
1 parent c68a19c0ba
commit 95d34be0d3
5 files changed
+10 -19

No files matched your search

+1 -1
View File
@@ -788,7 +788,7 @@ func Main(cfg *Config, lisCfg ListenerCfg, implCfg *ImplementationCfg,
// active, then we'll start the autopilot agent immediately. It will be
// stopped together with the autopilot service.
if cfg.Autopilot.Active {
if err := atplManager.StartAgent(ctx); err != nil {
if err := atplManager.StartAgent(); err != nil {
return mkErr("unable to start autopilot agent", err)
}
}