Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr authored and goran-ethernal committed Jul 26, 2024
1 parent dfb75e9 commit 1b33233
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions translator/translator_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ func (t *TranslatorFullMatchRule) Match(contextName string, data string) bool {
if t.ContextName != nil && *t.ContextName != contextName {
return false
}
if t.FullMatchString != data {
return false
}
return true
return t.FullMatchString == data
}

func (t *TranslatorFullMatchRule) Translate(contextName string, data string) string {
Expand Down

0 comments on commit 1b33233

Please sign in to comment.