mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-19 18:34:59 +00:00
Fix: error msg with uppercase, usage missed pt-
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
func internalRegexSubmatch(regex *regexp.Regexp, log string) ([]string, error) {
|
||||
slice := regex.FindStringSubmatch(log)
|
||||
if len(slice) == 0 {
|
||||
return nil, errors.New(fmt.Sprintf("Could not find submatch from log \"%s\" using pattern \"%s\"", log, regex.String()))
|
||||
return nil, errors.New(fmt.Sprintf("could not find submatch from log \"%s\" using pattern \"%s\"", log, regex.String()))
|
||||
}
|
||||
return slice, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user