diff --git a/pkg/utils/minio.go b/pkg/utils/minio.go index 4c8fdad1..36a5218b 100644 --- a/pkg/utils/minio.go +++ b/pkg/utils/minio.go @@ -77,8 +77,8 @@ func MakeMinIOAdminClient(cfg *types.Config) (*MinIOAdminClient, error) { } // Disable tls verification in client transport if verify == false - // #nosec if !cfg.MinIOProvider.Verify { + // #nosec tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, }