mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
Return possible errors from runtime.Start instead of nil
This commit is contained in:
@@ -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...)...)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user