Windows fixes

This commit is contained in:
emanuele-f 2018-12-18 10:43:45 +01:00
parent a8d1700252
commit 453f515feb
2 changed files with 4 additions and 2 deletions

View file

@ -2727,7 +2727,7 @@ function check_host_pools_alerts(ifid, working_status)
local pool_exceeded_quotas = quota_exceeded_pools[pool] or {}
-- Pool quota
if pool_stats then
if((pool_stats ~= nil) and (shaper_utils ~= nil)) then
local quotas_info = shaper_utils.getQuotasInfo(ifid, pool, pool_stats)
for proto, info in pairs(quotas_info) do