daemon: don't set ignoreImagesArgsEscaped, managed  where not needed
Just a minor cleanup; I went looking where these options were used, and
these occurrences set then to their default value. Removing these
assignments makes it easier to find where they're actually used.
@@ -36,15 +36,14 @@ func (daemon *Daemon) CreateManagedContainer(params types.ContainerCreateConfig)
return daemon.containerCreate(createOpts{
params: params,
managed: true,
- ignoreImagesArgsEscaped: false})
+ })
}
// ContainerCreate creates a regular container
func (daemon *Daemon) ContainerCreate(params types.ContainerCreateConfig) (containertypes.CreateResponse, error) {
return daemon.containerCreate(createOpts{
params: params,
- managed: false,
- ignoreImagesArgsEscaped: false})
+ })
}
// ContainerCreateIgnoreImagesArgsEscaped creates a regular container. This is called from the builder RUN case
@@ -52,8 +51,8 @@ func (daemon *Daemon) ContainerCreate(params types.ContainerCreateConfig) (conta
func (daemon *Daemon) ContainerCreateIgnoreImagesArgsEscaped(params types.ContainerCreateConfig) (containertypes.CreateResponse, error) {
return daemon.containerCreate(createOpts{
params: params,
- managed: false,
- ignoreImagesArgsEscaped: true})
+ ignoreImagesArgsEscaped: true,
+ })
}
func (daemon *Daemon) containerCreate(opts createOpts) (containertypes.CreateResponse, error) {
