Welcome to mirror list, hosted at ThFree Co, Russian Federation.

readiness.go « server « service « gitaly « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59708e2ed9f2c79cb3678dc59b88e870489de4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package server

import (
	"context"

	"gitlab.com/gitlab-org/gitaly/v15/proto/go/gitalypb"
)

// ReadinessCheck is a stub that does nothing but exists to support single interface for gitaly
// and praefect. The praefect service requires this method.
func (s *server) ReadinessCheck(context.Context, *gitalypb.ReadinessCheckRequest) (*gitalypb.ReadinessCheckResponse, error) {
	return &gitalypb.ReadinessCheckResponse{Result: &gitalypb.ReadinessCheckResponse_OkResponse{}}, nil
}