Browse code

Docker api inspect Assert HostConfig

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>

lixiaobing10051267 authored on 2016/08/04 20:48:12
Showing 1 changed files
... ...
@@ -97,7 +97,7 @@ func (s *DockerSuite) TestInspectApiContainerVolumeDriver(c *check.C) {
97 97
 	c.Assert(ok, checker.False, check.Commentf("Api version 1.21 expected to not include VolumeDriver in 'Config'"))
98 98
 
99 99
 	config, ok = inspectJSON["HostConfig"]
100
-	c.Assert(ok, checker.True, check.Commentf("Unable to find 'Config'"))
100
+	c.Assert(ok, checker.True, check.Commentf("Unable to find 'HostConfig'"))
101 101
 	cfg = config.(map[string]interface{})
102 102
 	_, ok = cfg["VolumeDriver"]
103 103
 	c.Assert(ok, checker.True, check.Commentf("Api version 1.21 expected to include VolumeDriver in 'HostConfig'"))