From 695f6a9e4f2f64aa01bf48db348e4ccd3e4e262d Mon Sep 17 00:00:00 2001 From: Alex Ababii Date: Mon, 10 Aug 2026 15:31:50 +0200 Subject: [PATCH] uneeded type conversion --- services/eventhistory/pkg/command/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/eventhistory/pkg/command/server.go b/services/eventhistory/pkg/command/server.go index f58dbe8c89..43b90a6722 100644 --- a/services/eventhistory/pkg/command/server.go +++ b/services/eventhistory/pkg/command/server.go @@ -59,7 +59,7 @@ func Server(cfg *config.Config) *cobra.Command { gr := runner.NewGroup() - var consumer events.Consumer + var consumer events.Stream if !cfg.Events.Disabled { connName := generators.GenerateConnectionName(cfg.Service.Name, generators.NTypeBus) consumer, err = stream.NatsFromConfig(connName, false, stream.NatsConfig{