Separate out grpc client to package local for ocs service.

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