Signed-off-by: Michael Köppl <[email protected]>
---
 src/PVE/API2/HA/Rules.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/API2/HA/Rules.pm b/src/PVE/API2/HA/Rules.pm
index 2e5e382..817aa1d 100644
--- a/src/PVE/API2/HA/Rules.pm
+++ b/src/PVE/API2/HA/Rules.pm
@@ -25,6 +25,7 @@ my $get_api_ha_rule = sub {
 
     my $rule_cfg = dclone($rules->{ids}->{$ruleid});
 
+    $rule_cfg->{disable} = $rules->{ids}->{$ruleid}->{disable};
     $rule_cfg->{rule} = $ruleid;
     $rule_cfg->{digest} = $rules->{digest};
     $rule_cfg->{order} = $rules->{order}->{$ruleid};
-- 
2.47.2



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to