From 23562785425a62ffbcecce9f6759221d1205c1af Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 13 Jul 2018 22:55:44 -0400 Subject: [PATCH] add found ports Signed-off-by: Jess Frazelle --- k8scan/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/k8scan/main.go b/k8scan/main.go index e8e0521..8a86b6c 100644 --- a/k8scan/main.go +++ b/k8scan/main.go @@ -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 {