fix(endpoints): set TLSSkipVerify to false when TLS is not enabled during update (#1896)

pull/1892/merge
Anthony Lapenna 2018-05-15 18:24:54 +02:00 committed by GitHub
parent 2c0595f5ed
commit 79f4c20c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ func (handler *EndpointHandler) handlePutEndpoint(w http.ResponseWriter, r *http
} }
} else { } else {
endpoint.TLSConfig.TLS = false endpoint.TLSConfig.TLS = false
endpoint.TLSConfig.TLSSkipVerify = true endpoint.TLSConfig.TLSSkipVerify = false
endpoint.TLSConfig.TLSCACertPath = "" endpoint.TLSConfig.TLSCACertPath = ""
endpoint.TLSConfig.TLSCertPath = "" endpoint.TLSConfig.TLSCertPath = ""
endpoint.TLSConfig.TLSKeyPath = "" endpoint.TLSConfig.TLSKeyPath = ""