From 68795787c0c68c165de97cbb09a499896bfc88b4 Mon Sep 17 00:00:00 2001 From: eiqnepm <86803173+eiqnepm@users.noreply.github.com> Date: Sat, 3 Feb 2024 20:27:54 +0000 Subject: [PATCH] Update main.go --- cmd/portcheck/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/portcheck/main.go b/cmd/portcheck/main.go index d824150..fd2ee97 100644 --- a/cmd/portcheck/main.go +++ b/cmd/portcheck/main.go @@ -105,6 +105,8 @@ func main() { continue } + log.Println(string(output)) + ids := []string{"restart"} for _, line := range strings.Split(string(output), "\n") { var container struct { @@ -112,7 +114,6 @@ func main() { } if err := json.Unmarshal([]byte(line), &container); err != nil { - log.Println(line) log.Println(err) continue }