Fixed typo.
This commit is contained in:
parent
ce38a6c9ab
commit
4ae5e656d4
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ curl http://localhost/api/v1/monitoring/health_check?token=XXX
|
||||||
end
|
end
|
||||||
if channel.preferences && channel.preferences['last_fetch'] && channel.preferences['last_fetch'] < last_run_tolerance
|
if channel.preferences && channel.preferences['last_fetch'] && channel.preferences['last_fetch'] < last_run_tolerance
|
||||||
diff = Time.zone.now - channel.preferences['last_fetch']
|
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
|
end
|
||||||
|
|
||||||
# outbound channel
|
# outbound channel
|
||||||
|
|
Loading…
Reference in a new issue