mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration-cli: add missing err check in TestRunNetworkNotInitializedNoneMode
Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
parent
9fdb626bfb
commit
d5a705b600
1 changed files with 1 additions and 1 deletions
|
@ -3100,7 +3100,7 @@ func (s *DockerSuite) TestRunModeNetContainerHostname(c *check.C) {
|
|||
|
||||
func (s *DockerSuite) TestRunNetworkNotInitializedNoneMode(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
out, _, err := dockerCmdWithError("run", "-d", "--net=none", "busybox", "top")
|
||||
out, _ := dockerCmd(c, "run", "-d", "--net=none", "busybox", "top")
|
||||
id := strings.TrimSpace(out)
|
||||
res, err := inspectField(id, "NetworkSettings.IPAddress")
|
||||
c.Assert(err, check.IsNil)
|
||||
|
|
Loading…
Reference in a new issue