mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
integration-cli: remove unused types and fields
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -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 {
|
||||||
|
@ -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)
|
||||||
|
Reference in New Issue
Block a user