fix typo in comment
This commit is contained in:
1 parent
a5e918e0a7
commit
80763356e5
1 file changed
+1
-1
@@ -101,7 +101,7 @@ class NotificationService {
|
|||||||
const alertTypes = ["cpu", "memory", "disk"];
|
const alertTypes = ["cpu", "memory", "disk"];
|
||||||
|
|
||||||
for (const type of alertTypes) {
|
for (const type of alertTypes) {
|
||||||
// Iterate over each alert type to see if any need to be decmremented
|
// Iterate over each alert type to see if any need to be decremented
|
||||||
if (alerts[type] === true) {
|
if (alerts[type] === true) {
|
||||||
notification[`${type}AlertThreshold`]--; // Decrement threshold if an alert is triggered
|
notification[`${type}AlertThreshold`]--; // Decrement threshold if an alert is triggered
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user