Use VirtualSize of the docker image as the image size

This commit is contained in:
Yu-Ju Hong
2015-05-11 10:50:14 -07:00
parent 3599d81ef1
commit a9c9505206
3 changed files with 5 additions and 5 deletions

View File

@@ -51,9 +51,9 @@ func TestToRuntimeContainer(t *testing.T) {
func TestToRuntimeImage(t *testing.T) {
original := &docker.APIImages{
ID: "aeeea",
RepoTags: []string{"abc", "def"},
Size: 1234,
ID: "aeeea",
RepoTags: []string{"abc", "def"},
VirtualSize: 1234,
}
expected := &kubecontainer.Image{
ID: "aeeea",