Fixed typo.

This commit is contained in:
Martin Edenhofer 2018-11-20 11:01:54 +01:00 committed by Martin Edenhofer
parent ce38a6c9ab
commit 4ae5e656d4

View file

@ -48,7 +48,7 @@ curl http://localhost/api/v1/monitoring/health_check?token=XXX
end
if channel.preferences && channel.preferences['last_fetch'] && channel.preferences['last_fetch'] < last_run_tolerance
diff = Time.zone.now - channel.preferences['last_fetch']
issues.push "#{message} channel is active but not fetched for #{helpers.time_ago_in_words(Time.zone.now - diff.seconds)} hour"
issues.push "#{message} channel is active but not fetched for #{helpers.time_ago_in_words(Time.zone.now - diff.seconds)}"
end
# outbound channel