fix: Don't crash when some agents fail to start
This commit is contained in:
@@ -506,7 +506,7 @@ func (a *AgentPool) StartAll() error {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if err := a.startAgentWithConfig(name, &config); err != nil {
|
if err := a.startAgentWithConfig(name, &config); err != nil {
|
||||||
return err
|
xlog.Error("Failed to start agent", "name", name, "error", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user