Return possible errors from runtime.Start instead of nil

This commit is contained in:
Benedikt Kulmann
2020-06-04 15:55:48 +02:00
parent 0fa1ad4110
commit 92ea44545f

View File

@@ -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...)...)
},
}
}