Skip to content

Commit

Permalink
Update pkg/webhook/bundle.go
Browse files Browse the repository at this point in the history
  • Loading branch information
codysoyland committed Jun 18, 2024
1 parent 030b3df commit 2f571a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhook/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type noncompliantRegistryTransport struct{}
// This is a temporary solution to handle non compliant registries that return
// an unexpected status code 406 when the go-containerregistry library used
// by this code attempts to make a request to the referrers API.
// The go-contqainerregistry library can handle 404 response but not a 406 response.
// The go-containerregistry library can handle 404 response but not a 406 response.
// See the related go-containerregistry issue: https://github.com/google/go-containerregistry/issues/1962
func (a *noncompliantRegistryTransport) RoundTrip(req *http.Request) (*http.Response, error) {
resp, err := http.DefaultTransport.RoundTrip(req)
Expand Down

0 comments on commit 2f571a7

Please sign in to comment.