mirror of https://github.com/docker/cli.git
Merge pull request #26103 from sakeven/fix-validate-build-arg
validate build-arg
This commit is contained in:
commit
d23d33781a
|
@ -62,7 +62,7 @@ func NewBuildCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
ulimits := make(map[string]*units.Ulimit)
|
ulimits := make(map[string]*units.Ulimit)
|
||||||
options := buildOptions{
|
options := buildOptions{
|
||||||
tags: opts.NewListOpts(validateTag),
|
tags: opts.NewListOpts(validateTag),
|
||||||
buildArgs: opts.NewListOpts(runconfigopts.ValidateEnv),
|
buildArgs: opts.NewListOpts(runconfigopts.ValidateArg),
|
||||||
ulimits: runconfigopts.NewUlimitOpt(&ulimits),
|
ulimits: runconfigopts.NewUlimitOpt(&ulimits),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue