mirror of
https://github.com/moby/moby.git
synced 2025-07-30 18:23:29 +03:00
Cleanup client not found errors.
And fix remove calls to return a notFound error Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
@ -1617,7 +1617,7 @@ func (s *DockerSuite) TestContainerAPIDeleteWithEmptyName(c *check.C) {
|
||||
defer cli.Close()
|
||||
|
||||
err = cli.ContainerRemove(context.Background(), "", types.ContainerRemoveOptions{})
|
||||
c.Assert(err.Error(), checker.Contains, "Error response from daemon: page not found")
|
||||
c.Assert(err.Error(), checker.Contains, "No such container")
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestContainerAPIStatsWithNetworkDisabled(c *check.C) {
|
||||
|
Reference in New Issue
Block a user