Skip to content

Commit

Permalink
fix: set ready=false for running cronjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed May 2, 2024
1 parent d9be0f3 commit e200027
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/health/health_cronjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ func getBatchv1CronJobHealth(job *batchv1.CronJob) (*HealthStatus, error) {

if len(job.Status.Active) > 0 {
return &HealthStatus{
Ready: true,
Health: HealthHealthy,
Status: HealthStatusRunning,
Message: "Running since" + job.Status.LastScheduleTime.Format("2006-01-02 15:04:05 -0700"),
Expand Down

0 comments on commit e200027

Please sign in to comment.