Skip to content

Commit

Permalink
fix wrong event format method (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguyvda authored and kduret committed Feb 14, 2023
1 parent 003fda8 commit edfbb5f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ function EventQueue.new(params)

self.format_event = {
[categories.neb.id] = {
[elements.host_status.id] = function () return self:format_metrics_host() end,
[elements.service_status.id] = function () return self:format_metrics_service() end
[elements.host_status.id] = function () return self:format_event_host() end,
[elements.service_status.id] = function () return self:format_event_service() end
}
}

Expand Down Expand Up @@ -390,4 +390,4 @@ function flush()

-- there are events in the queue but they were not ready to be send
return false
end
end

0 comments on commit edfbb5f

Please sign in to comment.