Merge pull request #13664 from runcom/dead-code

Remove old struct
Upstream-commit: 9f098cabfc92db90ff66d9a1b318c0b5872edcbd
Component: engine
This commit is contained in:
Alexander Morozov
2015-06-02 09:37:55 -07:00
-10
View File
@@ -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 {