Skip to content

cli/flags: add EnvEnableTLS const for "DOCKER_TLS"#4386

Merged
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:tls_const
Jun 28, 2023
Merged

cli/flags: add EnvEnableTLS const for "DOCKER_TLS"#4386
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:tls_const

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

Add a const to allow documenting the environment variable in code. The location of this const is a bit "unfortunate", due to CLI and Client-config to be spread over the cli/config, cli/config/configfile, and docker/docker/client packages (some options are for the client, others for the CLI), and some reorganizing may be useful for easier consumption.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Add a const to allow documenting the environment variable in code. The location
of this const is a bit "unfortunate", due to CLI and Client-config to be spread
over the cli/config, cli/config/configfile, and docker/docker/client packages
(some options are for the client, others for the CLI), and some reorganizing
may be useful for easier consumption.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah merged commit fcaf1de into docker:master Jun 28, 2023
@thaJeztah thaJeztah deleted the tls_const branch June 28, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants