Use VirtualSize of the docker image as the image size
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user