Skip to content

Commit

Permalink
Update SyncRuleForm.php to improve understanding how booleans are int…
Browse files Browse the repository at this point in the history
…erpreted

The description was lacking a basic explanation on how to include booleans in the filter expression
  • Loading branch information
Tqnsls authored Sep 19, 2024
1 parent 853b6ce commit db7c112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/forms/SyncRuleForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function setup()
'Sync only part of your imported objects with this rule. Icinga Web 2'
. ' filter syntax is allowed, so this could look as follows: %s'
),
'(host=a|host=b)&!ip=127.*'
'(host=a|host=b)&!ip=127.*&host_is_enabled=1'
) . ' ' . $this->translate(
'Be careful: this is usually NOT what you want, as it makes Sync "blind"'
. ' for objects matching this filter. This means that "Purge" will not'
Expand Down

0 comments on commit db7c112

Please sign in to comment.