Signed-off-by: Victor Vieux <vieux@docker.com>
| ... | ... |
@@ -27,6 +27,7 @@ func (s *DockerSuite) TestPluginBasicOps(c *check.C) {
|
| 27 | 27 |
c.Assert(out, checker.Contains, "true") |
| 28 | 28 |
|
| 29 | 29 |
id, _, err := dockerCmdWithError("plugin", "inspect", "-f", "{{.Id}}", pNameWithTag)
|
| 30 |
+ id = strings.TrimSpace(id) |
|
| 30 | 31 |
c.Assert(err, checker.IsNil) |
| 31 | 32 |
|
| 32 | 33 |
out, _, err = dockerCmdWithError("plugin", "remove", pNameWithTag)
|