summaryrefslogtreecommitdiff
path: root/bookpipeline/cmd/lspipeline
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-09-27 16:29:57 +0100
committerNick White <git@njw.name>2019-09-27 16:29:57 +0100
commit627e5c89200e420b83b3c53c649ba9b9b49836b6 (patch)
tree9c084e00f4385705700405024ba97d989889f1e9 /bookpipeline/cmd/lspipeline
parent38b5d16b974743eeb3a09e42c9a9dd69cfbd2369 (diff)
Hardcode to ignore "workhorse" from logs
Diffstat (limited to 'bookpipeline/cmd/lspipeline')
-rw-r--r--bookpipeline/cmd/lspipeline/main.go2
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)
}
}