Separate out grpc client to package local for webdav service.

This commit is contained in:
Daniel Swärd
2023-07-27 11:52:11 +02:00
parent 94aab8b38d
commit fe84b83617
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func Server(cfg *config.Config) *cli.Command {
if err != nil {
return err
}
err = ogrpc.Configure(ogrpc.GetClientOptions(cfg.GRPCClientTLS)...)
cfg.GrpcClient, err = ogrpc.NewClient(ogrpc.GetClientOptions(cfg.GRPCClientTLS)...)
if err != nil {
return err
}