reuse transports for callhome and remote tgt validation (#18912)

This commit is contained in:
Poorna
2024-01-29 23:05:39 -08:00
committed by GitHub
parent 486e2e48ea
commit bcfd7fbbcf
4 changed files with 5 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ func checkRemoteEndpoint(ctx context.Context, epURL *url.URL) error {
}
client := &http.Client{
Transport: NewHTTPTransport(),
Transport: globalRemoteTargetTransport,
Timeout: 10 * time.Second,
}