mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
include all the data
This commit is contained in:
@@ -216,7 +216,7 @@ func compareRegex(conditional string, foundMatches map[string]string) (bool, err
|
||||
} else {
|
||||
// all we can support is "=" and "==" and "===" for now
|
||||
if operator != "=" && operator != "==" && operator != "===" {
|
||||
return false, fmt.Errorf("unexpected operator %q in regex comparator", operator)
|
||||
return false, fmt.Errorf("unexpected operator %q in regex comparator, cannot compare %q and %q", operator, foundValue, lookForValue)
|
||||
}
|
||||
|
||||
return foundValue == lookForValue, nil
|
||||
|
||||
Reference in New Issue
Block a user