Rename uuid_num to source_id for consistency

This commit is contained in:
Alfredo Cardigliano 2025-11-03 09:37:19 +01:00
parent b4e8aea124
commit eb22febf66
6 changed files with 16 additions and 13 deletions

View file

@ -56,7 +56,7 @@ function exporters_utils.getAllInterfacesList(add_role_to_interfaces)
-- Get the list of all the probes
for ifid, probe_list in pairs(ifstats.probes or {}) do
for _, probe_info in pairsByKeys(probe_list or {}) do
local uuid = probe_info["probe.uuid_num"]
local uuid = probe_info["probe.source_id"]
local probe_ip = probe_info["probe.ip"]
-- For each probe retrieve the list of interfaces