Groups have been replaced by rules. Since rules are no longer displayed
as part of the service status and fetching the relevant rules would add
more complexity compared to getting the group, this information is
omitted altogether.

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

diff --git a/src/PVE/HA/Config.pm b/src/PVE/HA/Config.pm
index 301c62f..384999b 100644
--- a/src/PVE/HA/Config.pm
+++ b/src/PVE/HA/Config.pm
@@ -473,7 +473,6 @@ sub get_service_status {
         my $manager_status = cfs_read_file($manager_status_filename);
 
         $status->{managed} = 1;
-        $status->{group} = $conf->{ids}->{$sid}->{group};
         $status->{state} = $manager_status->{service_status}->{$sid}->{state};
     }
 
-- 
2.47.3



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

Reply via email to