Skip to content

Commit 9976a6f

Browse files
authored
fix: add additional space for alignment of columns (fidelity#36)
1 parent 4b5fb2c commit 9976a6f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/awsrun/commands/aws/dx_status.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
166166
167167
"""
168+
168169
import io
169170
import re
170171
import sys
@@ -417,14 +418,14 @@ def _conn2str(conn, vifs):
417418
Style.RESET_ALL,
418419
Style.BRIGHT,
419420
Fore.YELLOW,
420-
f"{c_name:22.22} ",
421+
f"{c_name:25.25} ",
421422
Style.RESET_ALL,
422423
(Fore.GREEN if c_state == "AVAILABLE" else Fore.RED),
423424
f"{c_state:10} ",
424425
Fore.BLUE,
425-
f"{c_bandwidth:7} ",
426+
f"{c_bandwidth:>9} ",
426427
Fore.MAGENTA,
427-
f"{len(vifs):3} VIFs ",
428+
f"{len(vifs):5} VIFs ",
428429
(Fore.RED + f"({v_down} down)" if v_down > 0 else ""),
429430
Fore.RESET,
430431
]

0 commit comments

Comments
 (0)