Skip to content

Commit 89ea5da

Browse files
committed
down: fixup messages in console
1 parent 507a90e commit 89ea5da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/warnet/control.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ def uninstall_release(namespace, release_name):
142142

143143
# Wait for all tasks to complete and print results
144144
for future in as_completed(futures):
145-
console.print(f"[yellow]{future.result()}[/yellow]")
145+
result = future.result()
146+
msg = result if isinstance(result, str) else result.metadata.name
147+
console.print(f"[yellow]Deletion: {msg} [/yellow]")
146148

147149
# Shutdown any port forwarding
148150
_port_stop_internal("caddy", namespaces[1])

0 commit comments

Comments
 (0)