mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove old struct
Signed-off-by: Antonio Murdaca <antonio.murdaca@gmail.com>
This commit is contained in:
parent
4caa9392f8
commit
da1a77defd
1 changed files with 0 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue