Get runtime spec from container metadata.

Signed-off-by: Random-Liu <lantaol@google.com>
This commit is contained in:
Random-Liu
2017-07-27 18:04:25 -07:00
committed by Lantao Liu
parent 2a2d709af7
commit b398a161de
4 changed files with 18 additions and 16 deletions

View File

@@ -592,7 +592,6 @@ func TestCreateContainer(t *testing.T) {
test.expectMeta.ID = id
// TODO(random-liu): Use fake clock to test CreatedAt.
test.expectMeta.CreatedAt = meta.CreatedAt
test.expectMeta.Spec = spec
assert.Equal(t, test.expectMeta, meta, "container metadata should be created")
}
}