Suggested-by: Thomas Lamprecht <[email protected]>
Signed-off-by: Daniel Kral <[email protected]>
---
src/PVE/API2/HA/Rules.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/API2/HA/Rules.pm b/src/PVE/API2/HA/Rules.pm
index b180d2ed..d797f621 100644
--- a/src/PVE/API2/HA/Rules.pm
+++ b/src/PVE/API2/HA/Rules.pm
@@ -223,6 +223,8 @@ __PACKAGE__->register_method({
rule => get_standard_option('pve-ha-rule-id'),
type => {
type => 'string',
+ description => "HA rule type.",
+ enum => PVE::HA::Rules->lookup_types(),
},
},
},
--
2.47.2
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel