Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jchadwick-buf committed Nov 22, 2024
1 parent 55145cf commit 3f193c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/protovalidate-conformance/internal/results/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func (v violationsResult) IsSuccessWith(other Result, options *harness.ResultOpt
return false
}
for i := range len(want) {
//nolint:staticcheck // Intentional use of deprecated field
matchingField := want[i].GetFieldPath() == got[i].GetFieldPath() &&
proto.Equal(want[i].GetField(), got[i].GetField()) &&
want[i].GetForKey() == got[i].GetForKey()
Expand Down

0 comments on commit 3f193c9

Please sign in to comment.