@@ -19,7 +19,9 @@ func NewService(opts ...Option) grpc.Service {
|
||||
)
|
||||
|
||||
hdlr := svc.New(options.Config)
|
||||
proto.RegisterSettingsServiceHandler(service.Server(), hdlr)
|
||||
if err := proto.RegisterSettingsServiceHandler(service.Server(), hdlr); err != nil {
|
||||
options.Logger.Fatal().Err(err).Msg("could not register service handler")
|
||||
}
|
||||
|
||||
service.Init()
|
||||
return service
|
||||
|
||||
@@ -18,9 +18,9 @@ import (
|
||||
|
||||
var (
|
||||
// StoreName is the default name for the accounts store
|
||||
StoreName string = "ocis-store"
|
||||
managerName = "filesystem"
|
||||
emptyKeyError = "key cannot be empty"
|
||||
StoreName = "ocis-store"
|
||||
managerName = "filesystem"
|
||||
emptyKeyError = "key cannot be empty"
|
||||
)
|
||||
|
||||
// StoreName is the default name for the store container
|
||||
|
||||
Reference in New Issue
Block a user