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

Merge pull request #11839 from brahmaroutu/template_11641

Allow go template to work properly with inspect …
This commit is contained in:
Alexander Morozov
2015-04-23 13:07:40 -07:00
8 changed files with 120 additions and 32 deletions

View File

@ -644,7 +644,7 @@ func (s *DockerSuite) TestContainerApiCommit(c *check.C) {
if err != nil {
c.Fatal(err)
}
if cmd != "[/bin/sh -c touch /test]" {
if cmd != "{[/bin/sh -c touch /test]}" {
c.Fatalf("got wrong Cmd from commit: %q", cmd)
}
// sanity check, make sure the image is what we think it is