Address feedback from kubernetes-client/csharp#103. (#108)

This commit is contained in:
Adam Friedman
2018-03-22 15:45:39 +11:00
committed by Brendan Burns
parent 29083095f1
commit 4f01fd38ef

View File

@@ -42,7 +42,9 @@ namespace k8s
Options.ServerCertificateCustomValidationCallback = (sender, certificate, chain, sslPolicyErrors) =>
{
if (sslPolicyErrors != SslPolicyErrors.RemoteCertificateChainErrors)
{
return false;
}
try
{