Merge pull request #26103 from sakeven/fix-validate-build-arg

validate build-arg
This commit is contained in:
Brian Goff 2016-09-12 09:15:58 -04:00 committed by GitHub
commit d23d33781a
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func NewBuildCommand(dockerCli *command.DockerCli) *cobra.Command {
ulimits := make(map[string]*units.Ulimit)
options := buildOptions{
tags: opts.NewListOpts(validateTag),
buildArgs: opts.NewListOpts(runconfigopts.ValidateEnv),
buildArgs: opts.NewListOpts(runconfigopts.ValidateArg),
ulimits: runconfigopts.NewUlimitOpt(&ulimits),
}