mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
no open ports found;
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user