diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2020-09-11 14:55:50 +0100 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2020-09-11 14:55:50 +0100 |
| commit | a9b2bf6b7caaf207bf11a99aa4f68ae8ee7f1746 (patch) | |
| tree | 36e4353ec640eeaee590a6e36a892cfd02e8d512 /internal/clients | |
| parent | 4bcc6d68844001b41d615aa01bacf580669af1c4 (diff) | |
fix nil pointer panic
Diffstat (limited to 'internal/clients')
| -rw-r--r-- | internal/clients/maprclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/clients/maprclient.go b/internal/clients/maprclient.go index 581db44..149129d 100644 --- a/internal/clients/maprclient.go +++ b/internal/clients/maprclient.go @@ -123,7 +123,7 @@ func (c MaprClient) makeCommands() (commands []string) { commands = append(commands, fmt.Sprintf("timeout %d %s %s %s", c.Timeout, modeStr, file, c.Regex.Serialize())) continue } - commands = append(commands, fmt.Sprintf("%s %s regex %s", modeStr, file, c.Regex.Serialize())) + commands = append(commands, fmt.Sprintf("%s %s %s", modeStr, file, c.Regex.Serialize())) } return |
