From a52df0777e29abbbe8007d8a27ff65976c6caf2c Mon Sep 17 00:00:00 2001 From: Enno Gotthold Date: Wed, 23 Mar 2022 09:25:55 +0100 Subject: [PATCH] Managers: Fix non-existent method call All DNS managers are subclassed from Manager Modules. Thus they don't have a custom function "write_dns_files" anymore. The correct replacement is "write_configs" from the "Managers" parent class. --- cobbler/actions/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobbler/actions/sync.py b/cobbler/actions/sync.py index 29880fe84e..9fe8c3d73a 100644 --- a/cobbler/actions/sync.py +++ b/cobbler/actions/sync.py @@ -104,7 +104,7 @@ def run_sync_systems(self, systems: List[str]): if self.settings.manage_dns: self.logger.info("rendering DNS files") self.dns.regen_hosts() - self.dns.write_dns_files() + self.dns.write_configs() self.logger.info("cleaning link caches") self.clean_link_cache()