Migrate proto files for store and adjust paths

This commit is contained in:
Juan Pablo Villafáñez
2022-01-31 09:35:40 +01:00
parent 2593ff0f70
commit 7bfb6c7d3e
10 changed files with 36 additions and 2169 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package grpc
import (
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/ocis-pkg/version"
"github.com/owncloud/ocis/store/pkg/proto/v0"
storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1"
svc "github.com/owncloud/ocis/store/pkg/service/v0"
)
@@ -28,7 +28,7 @@ func Server(opts ...Option) grpc.Service {
if err != nil {
options.Logger.Fatal().Err(err).Msg("could not initialize service handler")
}
if err = proto.RegisterStoreHandler(service.Server(), hdlr); err != nil {
if err = storesvc.RegisterStoreHandler(service.Server(), hdlr); err != nil {
options.Logger.Fatal().Err(err).Msg("could not register service handler")
}