Skip to content

Commit 2ae9484

Browse files
committed
status: clean up scenarios
1 parent 92ddbbf commit 2ae9484

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/warnet/status.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ def status():
6060
for ln in lns:
6161
table.add_row("Lightning", ln["name"], ln["status"], ln["namespace"])
6262

63-
# Add a separator if there are both tanks and scenarios
64-
if tanks and scenarios:
65-
table.add_row("", "", "")
63+
table.add_row("", "", "")
6664

6765
# Add scenarios to the table
6866
active = 0
@@ -72,7 +70,7 @@ def status():
7270
if scenario["status"] == "running" or scenario["status"] == "pending":
7371
active += 1
7472
else:
75-
table.add_row("Scenario", "No active scenarios", "")
73+
table.add_row("", "No active scenarios", "", style="red")
7674

7775
# Create a panel to wrap the table
7876
panel = Panel(

0 commit comments

Comments
 (0)