Move CLI config processing out from under registry dir
No logic changes should be in here, just moving things around. Signed-off-by: Doug Davis <dug@us.ibm.com> Upstream-commit: bb9da6ba9294a8eab8f4dfaf7cf07c57959fe608 Component: engine
This commit is contained in:
@@ -18,6 +18,7 @@ import (
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
apiserver "github.com/docker/docker/api/server"
|
||||
"github.com/docker/docker/cliconfig"
|
||||
"github.com/docker/docker/daemon"
|
||||
"github.com/docker/docker/daemon/execdriver"
|
||||
"github.com/docker/docker/engine"
|
||||
@@ -28,7 +29,6 @@ import (
|
||||
"github.com/docker/docker/pkg/ioutils"
|
||||
"github.com/docker/docker/pkg/reexec"
|
||||
"github.com/docker/docker/pkg/stringid"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/docker/docker/runconfig"
|
||||
"github.com/docker/docker/utils"
|
||||
)
|
||||
@@ -135,7 +135,7 @@ func setupBaseImage() {
|
||||
imagePullConfig := &graph.ImagePullConfig{
|
||||
Parallel: true,
|
||||
OutStream: ioutils.NopWriteCloser(os.Stdout),
|
||||
AuthConfig: ®istry.AuthConfig{},
|
||||
AuthConfig: &cliconfig.AuthConfig{},
|
||||
}
|
||||
d := getDaemon(eng)
|
||||
if err := d.Repositories().Pull(unitTestImageName, "", imagePullConfig); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user