update webhook test to go 1.21

This commit is contained in:
HirazawaUi 2023-05-21 21:32:45 +08:00
parent badcf9ab46
commit b6364dddfe

View File

@ -47,7 +47,7 @@ import (
)
const (
errBadCertificate = "Get .*: remote error: tls: bad certificate"
errBadCertificate = "Get .*: remote error: tls: (bad certificate|unknown certificate authority)"
errNoConfiguration = "invalid configuration: no configuration has been provided"
errMissingCertPath = "invalid configuration: unable to read %s %s for %s due to open %s: .*"
errSignedByUnknownCA = "Get .*: x509: .*(unknown authority|not standards compliant|not trusted)"