fix(scan): show listening ip:port of procs (#862)

This commit is contained in:
Kota Kanbe
2019-07-06 14:10:08 +09:00
committed by GitHub
parent f832de81b7
commit ccb0751ffd
2 changed files with 8 additions and 12 deletions

View File

@@ -274,12 +274,12 @@ node 1498 ubuntu 22u IPv6 20133 0t0 TCP *:44801 (LISTEN
docker-pr 9135 root 4u IPv6 297133 0t0 TCP *:6379 (LISTEN)`,
},
wantPortPid: map[string]string{
"53": "474",
"22": "644",
"3128": "959",
"35401": "1498",
"44801": "1498",
"6379": "9135",
"localhost:53": "474",
"*:22": "644",
"*:3128": "959",
"*:35401": "1498",
"*:44801": "1498",
"*:6379": "9135",
},
},
}