1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

Ignore 'not a swarm error' when inspecting a task.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin
2016-06-23 12:24:28 -04:00
parent 851c388ad9
commit fab2a3dc82
8 changed files with 22 additions and 17 deletions

View File

@ -176,7 +176,7 @@ func (s *DockerRegistrySuite) TestRemoveImageByDigest(c *check.C) {
_, err = inspectFieldWithError(imageReference, "Id")
//unexpected nil err trying to inspect what should be a non-existent image
c.Assert(err, checker.NotNil)
c.Assert(err.Error(), checker.Contains, "No such image")
c.Assert(err.Error(), checker.Contains, "No such container, image")
}
func (s *DockerRegistrySuite) TestBuildByDigest(c *check.C) {