Skip to content

Git designed for AI agents.

473 B
Raw Blame
package server

import (
	"context"

	"github.com/feder-cr/git-ai/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
}