use micro cli v2

This commit is contained in:
A.Unger
2020-02-04 10:09:38 +01:00
parent 35d9deb38a
commit 7431297a1c
4 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -5,14 +5,14 @@ import (
"fmt"
"syscall"
"github.com/micro/cli"
"github.com/micro/cli/v2"
"github.com/oklog/run"
"github.com/owncloud/ocis-accounts/pkg/micro/grpc"
)
// Server is the entry point for the server command.
func Server() cli.Command {
return cli.Command{
func Server() *cli.Command {
return &cli.Command{
Name: "server",
Usage: "Start accounts service",
Action: func(c *cli.Context) error {