validate build-arg

Signed-off-by: sakeven <jc5930@sina.cn>
This commit is contained in:
sakeven 2016-08-29 21:10:32 +08:00
parent 2dc3e0341b
commit f39b39cccb
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),
}