diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2022-03-02 11:43:33 +0100 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2022-03-02 22:19:22 +0100 |
commit | ac2cd5a8f2d70c9c46e09d0b33c66f28bacce91c (patch) | |
tree | 57d36122c3b5752e2c67d08fabfc29da11981ab3 /daemon/auth.go | |
parent | a27f8aecadcc2df8c3675967b247eb5a27b63d9b (diff) | |
download | docker-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.go | 2 |
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)) } |