remove network calls for getLocalDisks (#11603)

This commit is contained in:
Harshavardhana
2021-02-22 13:19:44 -08:00
committed by GitHub
parent 18ec933085
commit da676ac298
2 changed files with 9 additions and 21 deletions

View File

@@ -167,8 +167,7 @@ func isServerResolvable(endpoint Endpoint, timeout time.Duration) error {
var tlsConfig *tls.Config
if globalIsTLS {
tlsConfig = &tls.Config{
ServerName: endpoint.Hostname(),
RootCAs: globalRootCAs,
RootCAs: globalRootCAs,
}
}