mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-22 07:53:38 +01:00
Minor fix
This commit is contained in:
parent
431fb3e9f2
commit
688456d7cf
@ -104,7 +104,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
let nextEvent = data.events[i+1];
|
let nextEvent = data.events[i+1];
|
||||||
if (event.type === 'HEALTHY') {
|
if (event.type === 'HEALTHY') {
|
||||||
event.fancyText = 'Service became healthy again';
|
event.fancyText = 'Service became healthy';
|
||||||
} else if (event.type === 'UNHEALTHY') {
|
} else if (event.type === 'UNHEALTHY') {
|
||||||
if (nextEvent) {
|
if (nextEvent) {
|
||||||
event.fancyText = 'Service was unhealthy for ' + this.prettifyTimeDifference(nextEvent.timestamp, event.timestamp);
|
event.fancyText = 'Service was unhealthy for ' + this.prettifyTimeDifference(nextEvent.timestamp, event.timestamp);
|
||||||
|
Loading…
Reference in New Issue
Block a user