Fix log message typos in the fujitsu driver

Change-Id: I66afcfd12a74117b49594cb5716b54fe0146457c
This commit is contained in:
Laszlo Papp 2018-03-28 17:55:58 +01:00
parent edc8b76fb7
commit 2d76a5f1a1

View File

@ -171,7 +171,7 @@ public class FujitsuVoltAlarmConsumer extends AbstractHandlerBehaviour implement
List<HierarchicalConfiguration> idFields =
child.configurationsAt(RESOURCE_ID);
if (idFields.isEmpty()) {
log.error("{} does not exsit: SQ={}, TYPE={}, SEV={}, CLEARED={}",
log.error("{} does not exist: SQ={}, TYPE={}, SEV={}, CLEARED={}",
RESOURCE_ID, seqNum, alertType, severity, cleared);
continue;
}
@ -273,7 +273,7 @@ public class FujitsuVoltAlarmConsumer extends AbstractHandlerBehaviour implement
List<HierarchicalConfiguration> timeFields =
cfg.configurationsAt(ALERT_TIME);
if (timeFields.isEmpty()) {
log.debug("{} does not exsit", ALERT_TIME);
log.debug("{} does not exist", ALERT_TIME);
} else {
for (HierarchicalConfiguration child : timeFields) {
strDate = child.getString(DATE);
@ -288,7 +288,7 @@ public class FujitsuVoltAlarmConsumer extends AbstractHandlerBehaviour implement
log.error("Cannot parse exception {} {} {}", strDate, strTime, e);
}
} else {
log.error("{} or {} does not exsit", DATE, TIME);
log.error("{} or {} does not exist", DATE, TIME);
}
}
}