Skip to content

Commit c515388

Browse files
committed
Fix freshness check job
1 parent b181443 commit c515388

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

data-service/job/freshness_check_job.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,10 @@ func (job *FreshnessCheckJob) Run() {
9292
},
9393
}
9494

95-
if job.Config.AlertService.Emailer.AlertType.NoData {
96-
errAlert := job.AlertSvcClient.ThrowNewAlert(alert)
97-
if errAlert != nil {
98-
job.Log.Error(errAlert)
99-
continue
100-
}
95+
errAlert := job.AlertSvcClient.ThrowNewAlert(alert)
96+
if errAlert != nil {
97+
job.Log.Error(errAlert)
98+
continue
10199
}
102100
}
103101
}

0 commit comments

Comments
 (0)