From 866b6189e6b174cda0a0bea6ab275f5b981d2e53 Mon Sep 17 00:00:00 2001
From: Alex Goodman <wagoodman@gmail.com>
Date: Wed, 24 Oct 2018 08:06:36 -0400
Subject: [PATCH] rm debug code

---
 image/image.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/image/image.go b/image/image.go
index 6442e77..4bb91b5 100644
--- a/image/image.go
+++ b/image/image.go
@@ -212,11 +212,11 @@ func InitializeData(imageID string) ([]*Layer, []*filetree.FileTree, float64, fi
 	}
 
 	// 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 := "/home/wagoodman/Downloads/image/image.tar"
-	// defer os.RemoveAll(tmpDir)
+	// imageTarPath := "/home/wagoodman/Downloads/image/image.tar"
+	defer os.RemoveAll(tmpDir)
 
 	// read through the image contents and build a tree
 	tarFile, err := os.Open(imageTarPath)