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

Allow go template to work properly with inspect

Closes #11641

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
Srini Brahmaroutu
2015-03-26 19:43:00 +00:00
committed by Srini Brahmaroutu
parent eae272f90e
commit 231d362db7
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