fix: ports all listed in white
This commit is contained in:
@@ -11,8 +11,6 @@ services:
|
||||
ipc: private
|
||||
restart: always
|
||||
shm_size: 256MB
|
||||
ports:
|
||||
- "127.0.0.1:4040:4040"
|
||||
networks:
|
||||
- oxker-example-net
|
||||
deploy:
|
||||
|
||||
@@ -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![
|
||||
|
||||
Reference in New Issue
Block a user