summaryrefslogtreecommitdiff
path: root/daemon/auth.go
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2022-03-02 11:43:33 +0100
committerSebastiaan van Stijn <github@gone.nl>2022-03-02 22:19:22 +0100
commitac2cd5a8f2d70c9c46e09d0b33c66f28bacce91c (patch)
tree57d36122c3b5752e2c67d08fabfc29da11981ab3 /daemon/auth.go
parenta27f8aecadcc2df8c3675967b247eb5a27b63d9b (diff)
downloaddocker-ac2cd5a8f2d70c9c46e09d0b33c66f28bacce91c.tar.gz
daemon: unexport Daemon.ID and Daemon.RegistryService
These are used internally only, and set by daemon.NewDaemon(). If they're used externally, we should add an accessor added (which may be something we want to do for daemon.registryService (which should be its own backend) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'daemon/auth.go')
-rw-r--r--daemon/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/auth.go b/daemon/auth.go
index d32c28b8dd..e97d888371 100644
--- a/daemon/auth.go
+++ b/daemon/auth.go
@@ -9,5 +9,5 @@ import (
// AuthenticateToRegistry checks the validity of credentials in authConfig
func (daemon *Daemon) AuthenticateToRegistry(ctx context.Context, authConfig *types.AuthConfig) (string, string, error) {
- return daemon.RegistryService.Auth(ctx, authConfig, dockerversion.DockerUserAgent(ctx))
+ return daemon.registryService.Auth(ctx, authConfig, dockerversion.DockerUserAgent(ctx))
}