mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add found ports
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
5ca68f0bd3
commit
2356278542
|
@ -176,9 +176,7 @@ func main() {
|
|||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
if len(m) <= 0 {
|
||||
logrus.Warn("No open ports found")
|
||||
}
|
||||
logrus.Infof("Found %d open ports", len(m))
|
||||
|
||||
for _, result := range m {
|
||||
for _, port := range result.Ports {
|
||||
|
|
Loading…
Reference in New Issue
Block a user