partially fix simple build

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-03-31 08:22:34 +02:00
parent 404fd1e184
commit f584d12934
2 changed files with 22 additions and 23 deletions
+4 -7
View File
@@ -15,15 +15,12 @@ import (
)
var (
// SimpleRuntimeServices declares which services will be started for the fullstack server
// SimpleRuntimeServices declares which services will be started for the simple server
SimpleRuntimeServices = []string{
"hello",
"phoenix",
"reva-frontend",
"reva-gateway",
"reva-users",
"reva-auth-basic",
"reva-auth-bearer",
"konnectd",
"glauth",
}
)
@@ -50,7 +47,7 @@ func Simple(cfg *config.Config) *cli.Command {
runtime := runtime.New(
runtime.Logger(logger),
runtime.Services(append(runtime.RuntimeServices, SimpleRuntimeServices...)),
runtime.Services(append(runtime.MicroServices, SimpleRuntimeServices...)),
runtime.MicroRuntime(cmd.DefaultCmd.Options().Runtime),
runtime.Context(c),
)