Remove old struct
Signed-off-by: Antonio Murdaca <antonio.murdaca@gmail.com> Upstream-commit: da1a77defd765b5caf3336825292e1ecd8a7d320 Component: engine
This commit is contained in:
@ -4,18 +4,8 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/runconfig"
|
||||
)
|
||||
|
||||
type ContainerJSONRaw struct {
|
||||
*Container
|
||||
HostConfig *runconfig.HostConfig
|
||||
|
||||
// Unused fields for backward compatibility with API versions < 1.12.
|
||||
Volumes map[string]string
|
||||
VolumesRW map[string]bool
|
||||
}
|
||||
|
||||
func (daemon *Daemon) ContainerInspect(name string) (*types.ContainerJSON, error) {
|
||||
container, err := daemon.Get(name)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user