mirror of https://github.com/docker/cli.git
cmd/docker: fix typo in deprecation warning
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9a5d5aefb8
commit
06eba426d7
|
@ -21,7 +21,7 @@ const (
|
||||||
https://docs.docker.com/go/buildx/`
|
https://docs.docker.com/go/buildx/`
|
||||||
|
|
||||||
buildkitDisabledWarning = `DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
buildkitDisabledWarning = `DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
||||||
BuildKit is currently disabled; enabled it by removing the DOCKER_BUILDKIT=0
|
BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0
|
||||||
environment-variable.`
|
environment-variable.`
|
||||||
|
|
||||||
buildxMissingError = `ERROR: BuildKit is enabled but the buildx component is missing or broken.
|
buildxMissingError = `ERROR: BuildKit is enabled but the buildx component is missing or broken.
|
||||||
|
|
|
@ -155,7 +155,7 @@ func TestBuildkitDisabled(t *testing.T) {
|
||||||
|
|
||||||
output.Assert(t, b.String(), map[int]func(string) error{
|
output.Assert(t, b.String(), map[int]func(string) error{
|
||||||
0: output.Suffix("DEPRECATED: The legacy builder is deprecated and will be removed in a future release."),
|
0: output.Suffix("DEPRECATED: The legacy builder is deprecated and will be removed in a future release."),
|
||||||
1: output.Suffix("BuildKit is currently disabled; enabled it by removing the DOCKER_BUILDKIT=0"),
|
1: output.Suffix("BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0"),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ func TestBuildFromContextDirectoryWithTag(t *testing.T) {
|
||||||
defer icmd.RunCommand("docker", "image", "rm", "myimage")
|
defer icmd.RunCommand("docker", "image", "rm", "myimage")
|
||||||
|
|
||||||
const buildkitDisabledWarning = `DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
const buildkitDisabledWarning = `DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
||||||
BuildKit is currently disabled; enabled it by removing the DOCKER_BUILDKIT=0
|
BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0
|
||||||
environment-variable.
|
environment-variable.
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue