Fix extended printing of regex sign (#2445)
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
This commit is contained in:
parent
8ebd888488
commit
e6824a3110
|
@ -139,7 +139,7 @@ func extendedFormatMatchers(matchers models.Matchers) string {
|
|||
|
||||
func extendedFormatMatcher(matcher models.Matcher) string {
|
||||
if *matcher.IsRegex {
|
||||
return fmt.Sprintf("%s~=%s", *matcher.Name, *matcher.Value)
|
||||
return fmt.Sprintf("%s=~%s", *matcher.Name, *matcher.Value)
|
||||
}
|
||||
return fmt.Sprintf("%s=%s", *matcher.Name, *matcher.Value)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue