We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191da0b commit 7a66742Copy full SHA for 7a66742
src/warnet/deploy.py
@@ -273,7 +273,7 @@ def deploy_namespaces(directory: Path):
273
for namespace in namespaces_file["namespaces"]:
274
click.echo(f"Deploying namespace: {namespace.get('name')}")
275
try:
276
- temp_override_file_path = Path()
+ temp_override_file_path = ""
277
namespace_name = namespace.get("name")
278
namespace_config_override = {k: v for k, v in namespace.items() if k != "name"}
279
@@ -294,7 +294,7 @@ def deploy_namespaces(directory: Path):
294
click.echo(f"Error: {e}")
295
return
296
finally:
297
- if temp_override_file_path.exists():
+ if temp_override_file_path:
298
temp_override_file_path.unlink()
299
300
0 commit comments