From 627e5c89200e420b83b3c53c649ba9b9b49836b6 Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 27 Sep 2019 16:29:57 +0100 Subject: Hardcode to ignore "workhorse" from logs --- bookpipeline/cmd/lspipeline/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookpipeline/cmd/lspipeline/main.go b/bookpipeline/cmd/lspipeline/main.go index 21af20d..3e9df61 100644 --- a/bookpipeline/cmd/lspipeline/main.go +++ b/bookpipeline/cmd/lspipeline/main.go @@ -212,7 +212,7 @@ func main() { } if i.Ip != "" { fmt.Printf(", IP: %s", i.Ip) - if i.State == "running" { + if i.State == "running" && i.Name != "workhorse" { ips = append(ips, i.Ip) } } -- cgit v1.2.1-24-ge1ad