integrate events into the servers (#1355)

This commit is contained in:
Jim authored and GitHub committed 2021-07-08 15:50:25 -04:00
1 parent ec7577c5fe
commit 1daa3ebefe
37 files changed
+2081 -298

No files matched your search

+5
View File
@@ -420,6 +420,11 @@ func (c *Command) Run(args []string) int {
return base.CommandUserError
}
if err := c.SetupEventing(c.Logger, c.StderrLock, base.WithEventerConfig(c.Config.Eventing)); err != nil {
c.UI.Error(err.Error())
return base.CommandCliError
}
base.StartMemProfiler(c.Logger)
if err := c.SetupMetrics(c.UI, c.Config.Telemetry); err != nil {