Merge pull request #118156 from HirazawaUi/update-webhook-test-to-go-1.21
Update webhook test code to golang 1.21
This commit is contained in:
		@@ -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)"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user