summaryrefslogtreecommitdiff
path: root/distribution/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/config.go')
-rw-r--r--distribution/config.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/distribution/config.go b/distribution/config.go
index fa06e3c9c0..a00392199f 100644
--- a/distribution/config.go
+++ b/distribution/config.go
@@ -8,7 +8,7 @@ import (
"github.com/docker/distribution"
"github.com/docker/distribution/manifest/schema2"
- "github.com/docker/docker/api/types"
+ "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/distribution/metadata"
"github.com/docker/docker/distribution/xfer"
"github.com/docker/docker/image"
@@ -16,7 +16,7 @@ import (
"github.com/docker/docker/pkg/progress"
"github.com/docker/docker/pkg/system"
refstore "github.com/docker/docker/reference"
- "github.com/docker/docker/registry"
+ registrypkg "github.com/docker/docker/registry"
"github.com/docker/libtrust"
"github.com/opencontainers/go-digest"
specs "github.com/opencontainers/image-spec/specs-go/v1"
@@ -30,13 +30,13 @@ type Config struct {
MetaHeaders map[string][]string
// AuthConfig holds authentication credentials for authenticating with
// the registry.
- AuthConfig *types.AuthConfig
+ AuthConfig *registry.AuthConfig
// ProgressOutput is the interface for showing the status of the pull
// operation.
ProgressOutput progress.Output
// RegistryService is the registry service to use for TLS configuration
// and endpoint lookup.
- RegistryService registry.Service
+ RegistryService registrypkg.Service
// ImageEventLogger notifies events for a given image
ImageEventLogger func(id, name, action string)
// MetadataStore is the storage backend for distribution-specific