From 92ea44545fcd095af24ec005c1d88de8352ffcdc Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 4 Jun 2020 15:55:48 +0200 Subject: [PATCH] Return possible errors from runtime.Start instead of nil --- pkg/command/server_simple.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/command/server_simple.go b/pkg/command/server_simple.go index a89399fa1..54cb6a31c 100644 --- a/pkg/command/server_simple.go +++ b/pkg/command/server_simple.go @@ -43,9 +43,7 @@ func Simple(cfg *config.Config) *cli.Command { } r := runtime.New() - r.Start(append(SimpleRuntimeServices, runtime.MicroServices...)...) - - return nil + return r.Start(append(SimpleRuntimeServices, runtime.MicroServices...)...) }, } }