Skip to content

Commit

Permalink
Change the context being used when Stat-ing remote registry
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysh authored and smarterclayton committed Apr 19, 2016
1 parent e1c50b0 commit 9dd0f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dockerregistry/server/pullthroughblobstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (r *pullthroughBlobStore) proxyStat(ctx context.Context, retriever importer
return distribution.Descriptor{}, err
}
pullthroughBlobStore := repo.Blobs(ctx)
desc, err := pullthroughBlobStore.Stat(r.repo.ctx, dgst)
desc, err := pullthroughBlobStore.Stat(ctx, dgst)
if err != nil {
if err != distribution.ErrBlobUnknown {
context.GetLogger(r.repo.ctx).Errorf("Error getting pullthroughBlobStore for image %q: %v", ref.Exact(), err)
Expand Down

0 comments on commit 9dd0f31

Please sign in to comment.