Merge pull request #29683 from vdemeester/runconfig-clean

Clean some stuff from runconfig that are cli only…
This commit is contained in:
Sebastiaan van Stijn
2016-12-29 17:42:08 +01:00
committed by GitHub
16 changed files with 1786 additions and 31 deletions

View File

@ -11,7 +11,6 @@ import (
apiclient "github.com/docker/docker/client"
options "github.com/docker/docker/opts"
"github.com/docker/docker/pkg/promise"
runconfigopts "github.com/docker/docker/runconfig/opts"
"github.com/spf13/cobra"
"golang.org/x/net/context"
)
@ -29,7 +28,7 @@ type execOptions struct {
func newExecOptions() *execOptions {
var values []string
return &execOptions{
env: options.NewListOptsRef(&values, runconfigopts.ValidateEnv),
env: options.NewListOptsRef(&values, options.ValidateEnv),
}
}