MCPcopy Index your code
hub / github.com/coder/envbox / isTLSVerificationErr

Function isTLSVerificationErr

dockerutil/image.go:330–332  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

328}
329
330func isTLSVerificationErr(err error) bool {
331 return err != nil && strings.Contains(err.Error(), "tls: failed to verify certificate: x509: certificate signed by unknown authority")
332}

Callers 1

PullImageFunction · 0.85

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected