From 2b4b34d465145834e9e9274c816995732a0387f2 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 13 Jul 2018 20:28:02 -0400 Subject: [PATCH] no open ports found; Signed-off-by: Jess Frazelle --- k8scan/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/k8scan/main.go b/k8scan/main.go index 6b95640..e8e0521 100644 --- a/k8scan/main.go +++ b/k8scan/main.go @@ -176,6 +176,10 @@ func main() { logrus.Fatal(err) } + if len(m) <= 0 { + logrus.Warn("No open ports found") + } + for _, result := range m { for _, port := range result.Ports { wg.Add(1)