Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
G402: TLS InsecureSkipVerify set true. (gosec)
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Muller committed Sep 9, 2019
1 parent 9ce4eb8 commit 78c6d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func New(registryUrl, username, password string) (*Registry, error) {
func NewInsecure(registryUrl, username, password string) (*Registry, error) {
transport := &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
InsecureSkipVerify: true, //nolint:gosec TODO: Why?
},
}

Expand Down

0 comments on commit 78c6d41

Please sign in to comment.