Skip to content

Commit 7fae190

Browse files
authored
Merge pull request #4324 from thaJeztah/fix_context_godoc
cli/command: fix GoDoc referencing wrong const
2 parents 7c480f4 + 0692d76 commit 7fae190

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/command/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func (cli *DockerCli) ContextStore() store.Store {
381381
// the "default" context is used if:
382382
//
383383
// - The "--host" option is set
384-
// - The "DOCKER_HOST" ([DefaultContextName]) environment variable is set
384+
// - The "DOCKER_HOST" ([client.EnvOverrideHost]) environment variable is set
385385
// to a non-empty value.
386386
//
387387
// In these cases, the default context is used, which uses the host as

0 commit comments

Comments
 (0)