Availability hours are not returned as integer array

This commit is contained in:
Luca Deri 2020-04-23 21:38:16 +02:00
parent 069268fc15
commit 13e5257c16
2 changed files with 7 additions and 16 deletions

View file

@ -79,7 +79,7 @@ for key, am_host in pairs(am_hosts) do
last_ip = column_last_ip,
granularity = am_host.granularity,
availability = availability or "",
hourly_stats = hourly_stats or {},
hours = hourly_stats or {},
unit = i18n(m_info.i18n_unit) or m_info.i18n_unit,
}