Fix extended printing of regex sign (#2445)

Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
This commit is contained in:
treydock 2021-01-27 05:06:47 -05:00 committed by GitHub
parent 8ebd888488
commit e6824a3110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}