mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration-cli: remove unused types and fields
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
7c40c0a922
commit
43ea03002f
2 changed files with 2 additions and 14 deletions
|
@ -2093,14 +2093,6 @@ func (s *DockerSuite) TestContainersAPICreateMountsCreate(c *testing.T) {
|
|||
}...)
|
||||
}
|
||||
|
||||
type wrapper struct {
|
||||
containertypes.Config
|
||||
HostConfig containertypes.HostConfig
|
||||
}
|
||||
type createResp struct {
|
||||
ID string `json:"Id"`
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
apiclient := testEnv.APIClient()
|
||||
for i, x := range cases {
|
||||
|
|
|
@ -7,7 +7,6 @@ import (
|
|||
"reflect"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/docker/docker/integration-cli/cli"
|
||||
"github.com/docker/docker/integration-cli/cli/build"
|
||||
|
@ -28,11 +27,8 @@ func (s *DockerSuite) TestCreateArgs(c *testing.T) {
|
|||
out, _ = dockerCmd(c, "inspect", cleanedContainerID)
|
||||
|
||||
var containers []struct {
|
||||
ID string
|
||||
Created time.Time
|
||||
Path string
|
||||
Args []string
|
||||
Image string
|
||||
Path string
|
||||
Args []string
|
||||
}
|
||||
|
||||
err := json.Unmarshal([]byte(out), &containers)
|
||||
|
|
Loading…
Reference in a new issue