From 238dd3930e9c58397a86f649c77912ee32e4d7f0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 4 Mar 2020 16:32:27 +0000 Subject: can tail probe with a given timeout and then write a mapreduce result --- internal/clients/tailclient.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/clients/tailclient.go') diff --git a/internal/clients/tailclient.go b/internal/clients/tailclient.go index 4d81fd5..15e77cc 100644 --- a/internal/clients/tailclient.go +++ b/internal/clients/tailclient.go @@ -38,5 +38,6 @@ func (c TailClient) makeCommands() (commands []string) { for _, file := range strings.Split(c.What, ",") { commands = append(commands, fmt.Sprintf("%s %s regex %s", c.Mode.String(), file, c.Regex)) } + return } -- cgit v1.2.3