Skip to content

Commit a22c5c8

Browse files
authored
Update repository.go
1 parent a594ca4 commit a22c5c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/oci/repository.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ func (c *Client) setupCertificates(ctx context.Context) error {
143143
}
144144

145145
func (c *Client) constructTLSRoundTripper() http.RoundTripper {
146-
tlsConfig := &tls.Config{} //nolint:gosec // must provide lower version for quay.io
146+
// nolint:gosec // must provide lower version for quay.io
147+
tlsConfig := &tls.Config{}
147148
caCertPool := x509.NewCertPool()
148149
caCertPool.AppendCertsFromPEM(c.ca)
149150

0 commit comments

Comments
 (0)