Skip to content

Commit 454abc1

Browse files
authored
Merge pull request #315 from IBM-Cloud/gosec-patch-3
chore: update gosec comment in example
2 parents b098841 + 5dab377 commit 454abc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin_examples/list_plugin/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ func NewHTTPClient(context plugin.PluginContext) *http.Client {
7878
transport := bhttp.NewTraceLoggingTransport(
7979
&http.Transport{
8080
Proxy: http.ProxyFromEnvironment,
81+
// #nosec G402: used for example and for some customer cases, we need to allow insecure SSL
8182
TLSClientConfig: &tls.Config{
82-
// #nosec G402: used for example and for some customer cases, we need to allow insecure SSL
8383
InsecureSkipVerify: context.IsSSLDisabled(),
8484
},
8585
})

0 commit comments

Comments
 (0)