From 291207ed6c601407d07293fbbd2551fcefb9fb27 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Sun, 21 Oct 2018 12:04:18 -0400 Subject: [PATCH] rm debug info --- image/image.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image/image.go b/image/image.go index 4717187..c570ace 100644 --- a/image/image.go +++ b/image/image.go @@ -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)