mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
no open ports found;
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
efcd38be3b
commit
2b4b34d465
|
@ -176,6 +176,10 @@ func main() {
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(m) <= 0 {
|
||||||
|
logrus.Warn("No open ports found")
|
||||||
|
}
|
||||||
|
|
||||||
for _, result := range m {
|
for _, result := range m {
|
||||||
for _, port := range result.Ports {
|
for _, port := range result.Ports {
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user