Skip to content

Commit

Permalink
add nolint comment
Browse files Browse the repository at this point in the history
  • Loading branch information
grischperl committed Sep 19, 2024
1 parent 52342d9 commit 4367b6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testing/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ func GetStructuredMessageHeaders() http.Header {

func GetBinaryMessageHeaders() http.Header {
headers := make(http.Header)
headers.Add(CeIDHeader, EventID) //nolint:canonicalheader // used in testing.
headers.Add(CeTypeHeader, CloudEventType) //nolint:canonicalheader // used in testing.
headers.Add(CeSourceHeader, CloudEventSource) //nolint:canonicalheader // used in testing.
headers.Add(CeSpecVersionHeader, CloudEventSpecVersion) //nolint:canonicalheader // used in testing.
headers.Add(CeIDHeader, EventID) //nolint:canonicalheader,nolintlint // used in testing.
headers.Add(CeTypeHeader, CloudEventType) //nolint:canonicalheader,nolintlint // used in testing.
headers.Add(CeSourceHeader, CloudEventSource) //nolint:canonicalheader,nolintlint // used in testing.
headers.Add(CeSpecVersionHeader, CloudEventSpecVersion) //nolint:canonicalheader,nolintlint // used in testing.
return headers
}

Expand Down

0 comments on commit 4367b6e

Please sign in to comment.