From 14ad5cad2512543cade360f0e45559fb7fa5273e Mon Sep 17 00:00:00 2001 From: Gregor Riepl Date: Mon, 8 Feb 2021 14:43:19 +0100 Subject: [PATCH] Add init step --- uncanny/cmd/uncanny/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uncanny/cmd/uncanny/main.go b/uncanny/cmd/uncanny/main.go index 68e0585..a5fa66c 100644 --- a/uncanny/cmd/uncanny/main.go +++ b/uncanny/cmd/uncanny/main.go @@ -31,6 +31,8 @@ func main() { can.Stop() }() go func() { + // preload the initialization message + can.Initialize() log.Printf("Bus listener exited: %v", can.Start()) wg.Done() server.Stop()