Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
330
func
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
PullImage
Function · 0.85
Calls
1
Error
Method · 0.65
Tested by
no test coverage detected