From 2c8d14778cfaf9062bcea4c40d4aad24060f6ff3 Mon Sep 17 00:00:00 2001 From: prey169 <30991896+prey169@users.noreply.github.com> Date: Fri, 6 Jun 2025 23:17:53 -0400 Subject: [PATCH] Update actions.py this doesn't get applied since it defaults to true and if you set it to false, it never executes this if statement --- icinga2api/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icinga2api/actions.py b/icinga2api/actions.py index e6dfae8..079a4e9 100644 --- a/icinga2api/actions.py +++ b/icinga2api/actions.py @@ -480,7 +480,7 @@ def schedule_downtime(self, } if filter_vars: payload['filter_vars'] = filter_vars - if fixed: + if not fixed: payload['fixed'] = fixed if trigger_name: payload['trigger_name'] = trigger_name