浏览代码

Merge pull request #25401 from lixiaobing10051267/masterConfig

Docker api inspect assert HostConfig
Vincent Demeester 9 年之前
父节点
当前提交
f570fbb9ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      integration-cli/docker_api_inspect_test.go

+ 1 - 1
integration-cli/docker_api_inspect_test.go

@@ -97,7 +97,7 @@ func (s *DockerSuite) TestInspectApiContainerVolumeDriver(c *check.C) {
 	c.Assert(ok, checker.False, check.Commentf("Api version 1.21 expected to not include VolumeDriver in 'Config'"))
 
 	config, ok = inspectJSON["HostConfig"]
-	c.Assert(ok, checker.True, check.Commentf("Unable to find 'Config'"))
+	c.Assert(ok, checker.True, check.Commentf("Unable to find 'HostConfig'"))
 	cfg = config.(map[string]interface{})
 	_, ok = cfg["VolumeDriver"]
 	c.Assert(ok, checker.True, check.Commentf("Api version 1.21 expected to include VolumeDriver in 'HostConfig'"))