custom interface; strategy pattern; service configuration; refactor
This commit is contained in:
+2
-1
@@ -4,7 +4,8 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/micro/cli"
|
||||
_ "github.com/owncloud/ocis-accounts/pkg/registry"
|
||||
// init store manager
|
||||
_ "github.com/owncloud/ocis-accounts/pkg/store"
|
||||
"github.com/owncloud/ocis-hello/pkg/version"
|
||||
)
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ func Server() cli.Command {
|
||||
gr.Add(func() error {
|
||||
return service.Run()
|
||||
}, func(_ error) {
|
||||
|
||||
fmt.Println("shutting down grpc server")
|
||||
cancel()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user