[release-11.3.7] Dependencies: Bump github.com/openfga/openfga from v1.8.5 to v1.8.12 (#105376)

Dependencies: Bump github.com/openfga/openfga from v1.8.5 to v1.8.12
This commit is contained in:
Matheus Macabu
2025-05-14 14:19:08 +02:00
committed by GitHub
parent cb857f7675
commit d34b905c73
18 changed files with 1007 additions and 728 deletions
+14
View File
@@ -31,6 +31,20 @@ func (s *healthServer) AuthFuncOverride(ctx context.Context, _ string) (context.
return ctx, nil
}
func (s *healthServer) List(ctx context.Context, req *grpc_health_v1.HealthListRequest) (*grpc_health_v1.HealthListResponse, error) {
h, err := s.Check(ctx, &grpc_health_v1.HealthCheckRequest{
Service: "all", // not used for anything
})
if err != nil {
return nil, err
}
return &grpc_health_v1.HealthListResponse{
Statuses: map[string]*grpc_health_v1.HealthCheckResponse{
"all": h,
},
}, nil
}
func (s *healthServer) Check(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error) {
r, err := s.srv.IsHealthy(ctx, &HealthCheckRequest{})
if err != nil {