From f8114151a3cd2cc918cb87f89e48f2fdeddee771 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 3 Mar 2025 14:00:05 +0100 Subject: [PATCH] RedundancyGroupState: Add missing column definitions --- library/Icingadb/Model/RedundancyGroupState.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/library/Icingadb/Model/RedundancyGroupState.php b/library/Icingadb/Model/RedundancyGroupState.php index 6a9a3a5a..81a9fa6c 100644 --- a/library/Icingadb/Model/RedundancyGroupState.php +++ b/library/Icingadb/Model/RedundancyGroupState.php @@ -50,6 +50,15 @@ class RedundancyGroupState extends Model ]; } + public function getColumnDefinitions() + { + return [ + 'failed' => t('Redundancy Group Failed'), + 'is_reachable' => t('Redundancy Group Is Reachable'), + 'last_state_change' => t('Redundancy Group Last State Change') + ]; + } + public function createBehaviors(Behaviors $behaviors): void { $behaviors->add(new Binary([