fixed the commit just now that broke status data to coordinator

This commit is contained in:
Mikayla Fischler
2023-02-13 22:14:47 -05:00
parent 655213e174
commit 9d5a55bf58
2 changed files with 2 additions and 2 deletions

View File

@@ -417,7 +417,7 @@ function iocontrol.update_unit_statuses(statuses)
local unit = io.units[i] ---@type ioctl_unit
local status = statuses[i]
if type(status) ~= "table" or #status ~= 6 then
if type(status) ~= "table" or #status ~= 5 then
log.debug(log_header .. "invalid status entry in unit statuses (not a table or invalid length)")
return false
end