"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "components/engine/integration-cli/docker_deprecated_api_v124_unix_test.go" between
docker-ce-19.03.2.tar.gz and docker-ce-19.03.3.tar.gz

About: Docker CE is a project to pack, ship and run any application as a lightweight container. Docker containers can run anywhere, on a laptop or at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more. Community edition.

docker_deprecated_api_v124_unix_test.go  (docker-ce-19.03.2):docker_deprecated_api_v124_unix_test.go  (docker-ce-19.03.3)
// +build !windows // +build !windows
package main package main
import ( import (
"strings" "strings"
"testing"
"github.com/docker/docker/internal/test/request" "github.com/docker/docker/internal/test/request"
"github.com/go-check/check"
"gotest.tools/assert" "gotest.tools/assert"
) )
// #19100 This is a deprecated feature test, it should be removed in Docker 1.12 // #19100 This is a deprecated feature test, it should be removed in Docker 1.12
func (s *DockerNetworkSuite) TestDeprecatedDockerNetworkStartAPIWithHostconfig(c *check.C) { func (s *DockerNetworkSuite) TestDeprecatedDockerNetworkStartAPIWithHostconfig(c *testing.T) {
netName := "test" netName := "test"
conName := "foo" conName := "foo"
dockerCmd(c, "network", "create", netName) dockerCmd(c, "network", "create", netName)
dockerCmd(c, "create", "--name", conName, "busybox", "top") dockerCmd(c, "create", "--name", conName, "busybox", "top")
config := map[string]interface{}{ config := map[string]interface{}{
"HostConfig": map[string]interface{}{ "HostConfig": map[string]interface{}{
"NetworkMode": netName, "NetworkMode": netName,
}, },
} }
 End of changes. 3 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)