Skip to content

Commit

Permalink
Fix extended printing of regex sign (#2445)
Browse files Browse the repository at this point in the history
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
  • Loading branch information
treydock authored Jan 27, 2021
1 parent 8ebd888 commit e6824a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/format/format_extended.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit e6824a3

Please sign in to comment.