Update define

This commit is contained in:
Alfredo Cardigliano 2025-01-15 09:23:05 +01:00
parent 5c4509c62e
commit 155d81e1b8

View file

@ -303,7 +303,7 @@ local function is_infrastructure(host)
local infrastructure_utils = require("infrastructure_utils")
-- The host is considered an infrastructure host if it contains the endpoint in the name
if host:find(infrastructure_utils.ENDPOINT_TO_EXTRACT_DATA) or host:find(infrastructure_utils.SUFFIX_THROUGHPUT) then
if host:find(infrastructure_utils.INSTANCE_DATA_ENDPOINT) or host:find(infrastructure_utils.THROUGHPUT_ENDPOINT) then
local instance = infrastructure_utils.get_instance_by_host(host)
if not instance then