diff options
Diffstat (limited to 'server/models/pod/pod.ts')
-rw-r--r-- | server/models/pod/pod.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/pod/pod.ts b/server/models/pod/pod.ts index df6412721..1440ac9b4 100644 --- a/server/models/pod/pod.ts +++ b/server/models/pod/pod.ts | |||
@@ -219,7 +219,7 @@ updatePodsScore = function (goodPods: number[], badPods: number[]) { | |||
219 | } | 219 | } |
220 | 220 | ||
221 | if (badPods.length !== 0) { | 221 | if (badPods.length !== 0) { |
222 | incrementScores(badPods, PODS_SCORE.MALUS) | 222 | incrementScores(badPods, PODS_SCORE.PENALTY) |
223 | .then(() => removeBadPods()) | 223 | .then(() => removeBadPods()) |
224 | .catch(err => { | 224 | .catch(err => { |
225 | if (err) logger.error('Cannot decrement scores of bad pods.', err) | 225 | if (err) logger.error('Cannot decrement scores of bad pods.', err) |