diff options
author | Nick White <git@njw.name> | 2019-09-27 16:29:57 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-09-27 16:29:57 +0100 |
commit | 627e5c89200e420b83b3c53c649ba9b9b49836b6 (patch) | |
tree | 9c084e00f4385705700405024ba97d989889f1e9 | |
parent | 38b5d16b974743eeb3a09e42c9a9dd69cfbd2369 (diff) |
Hardcode to ignore "workhorse" from logs
-rw-r--r-- | bookpipeline/cmd/lspipeline/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } } |