Skip to content

Commit

Permalink
pull: use resolvemode in flightcontrol key.
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
  • Loading branch information
sipsma committed Aug 16, 2021
1 parent 808091a commit 4237175
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/containerimage/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (is *Source) ResolveImageConfig(ctx context.Context, ref string, opt llb.Re
if err != nil {
return "", nil, err
}
key += rm.String()

res, err := is.g.Do(ctx, key, func(ctx context.Context) (interface{}, error) {
res := resolver.DefaultPool.GetResolver(is.RegistryHosts, ref, "pull", sm, g).WithImageStore(is.ImageStore, rm)
Expand Down

0 comments on commit 4237175

Please sign in to comment.