Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
technicallyty committed Jan 13, 2025
1 parent 339e0e7 commit 2b50c06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/v2/api/grpcgateway/interceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ func createRegexMapping(logger log.Logger, annotationMapping map[string]string)
} else {
reg := regexp.MustCompile(pattern)
if otherAnnotation, ok := seenPatterns[pattern]; ok {

// TODO: eventually we want this to error, but there is currently a duplicate in the protobuf.
// see: https://github.com/cosmos/cosmos-sdk/issues/23281
logger.Warn("duplicate HTTP annotation found", "annotation1", annotation, "annotation2", otherAnnotation, "query_input_name", queryInputName)
Expand Down

0 comments on commit 2b50c06

Please sign in to comment.