Skip to content

Commit

Permalink
nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
matoszz committed Nov 19, 2024
1 parent 5891f5c commit a2a63a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/events/soiree/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (p *PondPool) SubmittedTasks() int {
return math.MaxInt
}

return int(submittedTasks)
return int(submittedTasks) // nolint:gosec
}

// WaitingTasks returns the number of tasks waiting in the pool
Expand All @@ -139,7 +139,7 @@ func (p *PondPool) WaitingTasks() int {
return math.MaxInt
}

return int(waitingTasks)
return int(waitingTasks) // nolint:gosec
}

// SuccessfulTasks returns the number of tasks that completed successfully
Expand All @@ -151,7 +151,7 @@ func (p *PondPool) SuccessfulTasks() int {
return math.MaxInt
}

return int(successfulTasks)
return int(successfulTasks) // nolint:gosec
}

// FailedTasks returns the number of tasks that completed with a panic
Expand All @@ -163,7 +163,7 @@ func (p *PondPool) FailedTasks() int {
return math.MaxInt
}

return int(failedTasks)
return int(failedTasks) // nolint:gosec
}

// CompletedTasks returns the number of tasks that completed either successfully or with a panic
Expand All @@ -175,5 +175,5 @@ func (p *PondPool) CompletedTasks() int {
return math.MaxInt
}

return int(completedTasks)
return int(completedTasks) // nolint:gosec
}

0 comments on commit a2a63a1

Please sign in to comment.