fix: startup probe

This commit is contained in:
Kevin Franklin Kim 2024-03-22 17:02:47 +01:00
parent 1c472c13bf
commit 3717872187
No known key found for this signature in database

View File

@ -59,7 +59,7 @@ func NewHTTPCommand() *cobra.Command {
)
// start initial update and handle error
svr.AddReadinessHealthzers(healthz.NewHealthzerFn(func(ctx context.Context) error {
svr.AddStartupHealthzers(healthz.NewHealthzerFn(func(ctx context.Context) error {
if !r.Loaded() {
return errors.New("repo not ready yet")
}