mirror of
https://github.com/moby/buildkit.git
synced 2026-08-09 01:01:08 +00:00
fix: return err when unable to hash
Signed-off-by: Chris Goller <goller@gmail.com>
This commit is contained in:
@@ -169,7 +169,7 @@ func (hs *httpSourceHandler) CacheKey(ctx context.Context, g session.Group, inde
|
||||
|
||||
uh, err := hs.urlHash()
|
||||
if err != nil {
|
||||
return "", "", nil, false, nil
|
||||
return "", "", nil, false, err
|
||||
}
|
||||
|
||||
// look up metadata(previously stored headers) for that URL
|
||||
|
||||
Reference in New Issue
Block a user