fix a few typos

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell 2019-05-14 16:22:39 +01:00
parent 57aa7731d0
commit d84e278aac
2 changed files with 3 additions and 3 deletions

View File

@ -210,9 +210,9 @@ func (cli *DockerCli) Initialize(opts *cliflags.ClientOptions, ops ...Initialize
cli.configFile = cliconfig.LoadDefaultConfigFile(cli.err) cli.configFile = cliconfig.LoadDefaultConfigFile(cli.err)
baseContextSore := store.New(cliconfig.ContextStoreDir(), cli.contextStoreConfig) baseContextStore := store.New(cliconfig.ContextStoreDir(), cli.contextStoreConfig)
cli.contextStore = &ContextStoreWithDefault{ cli.contextStore = &ContextStoreWithDefault{
Store: baseContextSore, Store: baseContextStore,
Resolver: func() (*DefaultContext, error) { Resolver: func() (*DefaultContext, error) {
return resolveDefaultContext(opts.Common, cli.ConfigFile(), cli.Err()) return resolveDefaultContext(opts.Common, cli.ConfigFile(), cli.Err())
}, },

View File

@ -20,7 +20,7 @@ const (
DefaultContextName = "default" DefaultContextName = "default"
) )
// DefaultContext contains the default context data for all enpoints // DefaultContext contains the default context data for all endpoints
type DefaultContext struct { type DefaultContext struct {
Meta store.Metadata Meta store.Metadata
TLS store.ContextTLSData TLS store.ContextTLSData