1
0
Fork 0
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:
Sebastiaan van Stijn 2019-08-06 01:54:52 +02:00
parent 7c40c0a922
commit 43ea03002f
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 2 additions and 14 deletions

View file

@ -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() ctx := context.Background()
apiclient := testEnv.APIClient() apiclient := testEnv.APIClient()
for i, x := range cases { for i, x := range cases {

View file

@ -7,7 +7,6 @@ import (
"reflect" "reflect"
"strings" "strings"
"testing" "testing"
"time"
"github.com/docker/docker/integration-cli/cli" "github.com/docker/docker/integration-cli/cli"
"github.com/docker/docker/integration-cli/cli/build" "github.com/docker/docker/integration-cli/cli/build"
@ -28,11 +27,8 @@ func (s *DockerSuite) TestCreateArgs(c *testing.T) {
out, _ = dockerCmd(c, "inspect", cleanedContainerID) out, _ = dockerCmd(c, "inspect", cleanedContainerID)
var containers []struct { var containers []struct {
ID string Path string
Created time.Time Args []string
Path string
Args []string
Image string
} }
err := json.Unmarshal([]byte(out), &containers) err := json.Unmarshal([]byte(out), &containers)