]> git.proxmox.com Git - pve-cluster.git/commitdiff
dc config: mark HA CRS scheduler sub-property optional
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 06:36:04 +0000 (07:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 06:36:04 +0000 (07:36 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/DataCenterConfig.pm

index 7a24870b08425b0b37cf0b11c1df6ed656fe14e7..c50a0cdb87576c852f3050664e831f7bcfa98b39 100644 (file)
@@ -11,8 +11,9 @@ my $crs_format = {
     ha => {
        type => 'string',
        enum => ['basic', 'static'],
-       description => "Use this resource scheduler mode for HA.",
+       optional => 1,
        default => 'basic',
+       description => "Use this resource scheduler mode for HA.",
        verbose_description => "Configures how the HA manager should select nodes to start or ".
            "recover services. With 'basic', only the number of services is used, with 'static', ".
            "static CPU and memory configuration of services is considered.",