From 86c72aa01fe55af3abefe98cd4d6d36ab2dd3217 Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Thu, 4 Aug 2016 19:48:12 +0800
Subject: [PATCH] Docker api inspect Assert HostConfig
Signed-off-by: lixiaobing10051267
---
integration-cli/docker_api_inspect_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/integration-cli/docker_api_inspect_test.go b/integration-cli/docker_api_inspect_test.go
index 6b55159aa2..2477d5a49e 100644
--- a/integration-cli/docker_api_inspect_test.go
+++ b/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'"))