[pve-devel] [PATCH ha-manager 6/7] sim env: add support for datacenter config overrides
Fiona Ebner
f.ebner at proxmox.com
Fri Jun 16 13:33:43 CEST 2023
to model the recent change in the pve2 environment.
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
src/PVE/HA/Sim/Env.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/HA/Sim/Env.pm b/src/PVE/HA/Sim/Env.pm
index c6ea73c..1b8399a 100644
--- a/src/PVE/HA/Sim/Env.pm
+++ b/src/PVE/HA/Sim/Env.pm
@@ -433,6 +433,7 @@ sub get_datacenter_settings {
return {
ha => $datacenterconfig->{ha} // {},
crs => $datacenterconfig->{crs} // {},
+ 'local-overrides' => $datacenterconfig->{'local-overrides'} // {},
};
}
--
2.39.2
More information about the pve-devel
mailing list