From f0cf28a494ecca796f9d23ad6300c6bfd6da1ce1 Mon Sep 17 00:00:00 2001 From: Lucie Dubrunfaut <123162035+lucie-dubrunfaut@users.noreply.github.com> Date: Wed, 26 Jun 2024 11:31:08 +0200 Subject: [PATCH] Update canopsis2x-events-apiv2.lua according capensis feedback --- centreon-certified/canopsis/canopsis2x-events-apiv2.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon-certified/canopsis/canopsis2x-events-apiv2.lua b/centreon-certified/canopsis/canopsis2x-events-apiv2.lua index dda1a172..f76e3329 100644 --- a/centreon-certified/canopsis/canopsis2x-events-apiv2.lua +++ b/centreon-certified/canopsis/canopsis2x-events-apiv2.lua @@ -417,7 +417,7 @@ function EventQueue:format_event_downtime() entity_pattern = { { { - field = "name", + field = "_id", cond = { type = "eq" } @@ -896,4 +896,4 @@ function EventQueue:getCanopsisAPI(self_metadata, route, type_name, reason_name) end return retval -end \ No newline at end of file +end