rm debug info

This commit is contained in:
Alex Goodman 2018-10-21 12:04:18 -04:00
parent ee74c8500e
commit 291207ed6c
No known key found for this signature in database
GPG Key ID: 05328C611D8A520E

View File

@ -211,11 +211,11 @@ func InitializeData(imageID string) ([]*Layer, []*filetree.FileTree) {
}
// save this image to disk temporarily to get the content info
// imageTarPath, tmpDir := saveImage(imageID)
imageTarPath, tmpDir := saveImage(imageID)
// fmt.Println(imageTarPath)
// fmt.Println(tmpDir)
imageTarPath := "/tmp/dive446223287/image.tar"
// defer os.RemoveAll(tmpDir)
// imageTarPath := "/tmp/dive446223287/image.tar"
defer os.RemoveAll(tmpDir)
// read through the image contents and build a tree
tarFile, err := os.Open(imageTarPath)