remove start from runtime

This commit is contained in:
Asim Aslam
2020-10-20 10:28:47 +01:00
parent 4a5b91c215
commit ee1c429e37
2 changed files with 4 additions and 3 deletions

View File

@@ -51,11 +51,14 @@ func NewRuntime(opts ...runtime.Option) runtime.Runtime {
// make the logs directory
os.MkdirAll(LogDir, 0755)
return &localRuntime{
lr := &localRuntime{
options: options,
start: make(chan *service, 128),
namespaces: make(map[string]map[string]*service),
}
lr.Start()
return lr
}
// Init initializes runtime options