Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Jul 17, 2023
1 parent 1942c3c commit cb25ffc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/jobs/canary/canary_jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ func (job CanaryJob) Run() {
checksToRemove := utils.SetDifference(existingTransformedChecks, transformedChecksCreated)
if len(checksToRemove) > 0 && len(transformedChecksCreated) > 0 {
for _, checkID := range checksToRemove {
strat := checkIDDeleteStrategyMap[checkID]
strategy := checkIDDeleteStrategyMap[checkID]
var status string
if strat == "MarkHealthy" {
if strategy == "MarkHealthy" {
status = models.CheckStatusHealthy
} else if strat == "MarkUnhealthy" {
} else if strategy == "MarkUnhealthy" {
status = models.CheckStatusUnhealthy
}
checkDeleteStrategyGroup[status] = append(checkDeleteStrategyGroup[status], checkID)
Expand Down

0 comments on commit cb25ffc

Please sign in to comment.