Ver Fonte

Merge pull request #13664 from runcom/dead-code

Remove old struct
Alexander Morozov há 10 anos atrás
pai
commit
9f098cabfc
1 ficheiros alterados com 0 adições e 10 exclusões
  1. 0 10
      daemon/inspect.go

+ 0 - 10
daemon/inspect.go

@@ -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 {