call runtime with the current cli context

This commit is contained in:
A.Unger
2020-03-17 14:59:54 +01:00
parent ca17f2da9e
commit e369509df3

View File

@@ -39,6 +39,7 @@ func Server(cfg *config.Config) *cli.Command {
runtime.Services(append(runtime.MicroServices, runtime.Extensions...)),
runtime.Logger(logger),
runtime.MicroRuntime(cmd.DefaultCmd.Options().Runtime),
runtime.Context(c),
)
runtime.Start()