From da05873b7c55113b3650638eb941a6dccc9ea720 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Fri, 8 May 2015 16:33:27 -0700 Subject: [PATCH] Use distribution context instead of google Signed-off-by: Derek McGowan (github: dmcgowan) --- registry/client/repository.go | 2 +- registry/client/repository_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/client/repository.go b/registry/client/repository.go index d5f75bdaf..0cda0d832 100644 --- a/registry/client/repository.go +++ b/registry/client/repository.go @@ -14,8 +14,8 @@ import ( "github.com/docker/distribution/digest" "github.com/docker/distribution" + "github.com/docker/distribution/context" "github.com/docker/distribution/registry/api/v2" - "golang.org/x/net/context" ) // NewRepository creates a new Repository for the given repository name and endpoint diff --git a/registry/client/repository_test.go b/registry/client/repository_test.go index 1674213d6..f53112dc0 100644 --- a/registry/client/repository_test.go +++ b/registry/client/repository_test.go @@ -14,10 +14,10 @@ import ( "code.google.com/p/go-uuid/uuid" + "github.com/docker/distribution/context" "github.com/docker/distribution/digest" "github.com/docker/distribution/manifest" "github.com/docker/distribution/testutil" - "golang.org/x/net/context" ) func testServer(rrm testutil.RequestResponseMap) (string, func()) {