Skip to content

Commit

Permalink
Add #nosec to createTLSConfig
Browse files Browse the repository at this point in the history
Signed-off-by: stefan vassilev <stefanvassilev1@gmail.com>
  • Loading branch information
stefanvassilev committed Apr 16, 2019
1 parent 3819a40 commit a18cff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/es/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ func (tlsConfig *TLSConfig) createTLSConfig() (*tls.Config, error) {
if err != nil {
return nil, err
}
// #nosec
return &tls.Config{
RootCAs: rootCerts,
Certificates: []tls.Certificate{*clientPrivateKey},
Expand Down

0 comments on commit a18cff0

Please sign in to comment.