fix: ports all listed in white

This commit is contained in:
Jack Wills
2024-02-14 09:42:31 +00:00
parent 6202b7bbfd
commit d3b23585b3
2 changed files with 2 additions and 8 deletions
-2
View File
@@ -11,8 +11,6 @@ services:
ipc: private
restart: always
shm_size: 256MB
ports:
- "127.0.0.1:4040:4040"
networks:
- oxker-example-net
deploy:
+2 -6
View File
@@ -321,12 +321,8 @@ pub fn ports(
))
.fg(Color::Yellow),
)];
for (index, item) in ports.0.iter().enumerate() {
let fg = if index % 2 == 0 {
Color::White
} else {
Color::Magenta
};
for item in &ports.0 {
let fg = Color::White;
let strings = item.print();
let line = vec![