working runtime
This commit is contained in:
@@ -2,8 +2,6 @@ package runtime
|
||||
|
||||
import (
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/micro/go-micro/v2/config/cmd"
|
||||
"github.com/owncloud/ocis-pkg/v2/log"
|
||||
)
|
||||
|
||||
// Command adds micro runtime commands to the cli app
|
||||
@@ -13,12 +11,7 @@ func Command(app *cli.App) *cli.Command {
|
||||
Description: "starts the go-micro runtime services",
|
||||
Category: "Micro",
|
||||
Action: func(c *cli.Context) error {
|
||||
runtime := New(
|
||||
Services(MicroServices),
|
||||
Logger(log.NewLogger()),
|
||||
MicroRuntime(cmd.DefaultCmd.Options().Runtime),
|
||||
)
|
||||
|
||||
runtime := New()
|
||||
runtime.Start()
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user