Skip to content

Commit

Permalink
signer: solve linting complains
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Hahn <[email protected]>
  • Loading branch information
Jakob3xD committed Oct 25, 2023
1 parent 04df6e0 commit 288f355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions signer/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const OpenSearchService = "es"
// OpenSearchServerless Amazon OpenSearch Serverless Name
const OpenSearchServerless = "aoss"

//nolint:gosec // static empty Body
const emptyBodySHA256 = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"

// Signer is an interface that will implement opensearchtransport.Signer
Expand Down
1 change: 1 addition & 0 deletions signer/awsv2/sdkv2signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (

const (
openSearchService = "es"
//nolint:gosec // static empty Body
emptyStringSHA256 = `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855`
)

Expand Down

0 comments on commit 288f355

Please sign in to comment.