You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in docker_image_dest.go:HasBlob() (https://github.com/containers/image/blob/master/docker/docker_image_dest.go#L193-L205) returns an error which then has to be parsed to determine if the problem was an authorization error, read error from the destination, or other error. It would be good if it could also (or maybe instead) return an error code. Then code like what was done in containers/buildah#406 for GetFailureCauses() could check the code rather than parsing the returned error. This was a suggestion from @ripcurld0.