]> mj.ucw.cz Git - pynsc.git/commitdiff
Generic daemon module does not have a config path
authorMartin Mares <mj@ucw.cz>
Mon, 22 Apr 2024 11:37:27 +0000 (13:37 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 22 Apr 2024 11:37:27 +0000 (13:37 +0200)
nsconfig/cli.py

index bf502a24541902e237854b96a00fc5ac18459d8b..6e9fcdce957d2b95682143896e217d9c50081981 100644 (file)
@@ -30,7 +30,7 @@ def do_test(nsc: Nsc) -> None:
         print()
 
     if nsc.daemon:
-        conf_file = test_dir / nsc.daemon.config_path.name
+        conf_file = test_dir / 'daemon.conf'
         print(f'Dumping daemon config to {conf_file}')
         with open(conf_file, 'w') as f:
             nsc.daemon.dump_config(file=f)