Skip to content

Commit c7d6664

Browse files
committed
Use minVersion 1.2 for RetryGet function
1 parent d2e3736 commit c7d6664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/util/net.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ func RetryGet(ctx context.Context, url, additionalCAPath string) int {
110110
c := http.Client{
111111
Transport: &http.Transport{
112112
TLSClientConfig: &tls.Config{
113-
RootCAs: rootCAs,
113+
RootCAs: rootCAs,
114+
MinVersion: tls.VersionTLS12,
114115
},
115116
},
116117
}

0 commit comments

Comments
 (0)