]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! manager/kafka_client.py: trigger config reload for configuration docs-jezek-test-jq0zac/deployments/7307
authorAleš Mrázek <ales.mrazek@nic.cz>
Tue, 29 Jul 2025 14:21:22 +0000 (16:21 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Tue, 29 Jul 2025 14:21:22 +0000 (16:21 +0200)
python/knot_resolver/manager/kafka_client.py

index b2cb612e53975150509ce08b2038e31b2e2715fc..e33c3d7448e20501c1d6a982d4e01aa7ab767884 100644 (file)
@@ -70,10 +70,11 @@ if KAFKA_LIB:
 
                             os.replace(file_path_tmp, file_path)
 
-                            # trigger delayed configuration renew
-                            trigger_reload(self._config)
-                            logger.info(f"Successfully applied config, saved to '{file_path}'")
+                            logger.info(f"Configuration saved to '{file_path}'")
 
+                            # trigger delayed configuration reload
+                            trigger_reload(self._config)
+                            continue
                         # messages with key
                         # RPZ or other files