google / google/k8s-digester

Improve error message on tag resolution failure

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
160
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Digester currently uses HEAD requests to look up image digests.

If the image registry returns an error, there is no response body to provide additional information about the error.

As long as the HTTP status code was not 429, digester could fall back to a GET request in order to get the error message and surface it to the user.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.