From 63894d6d8ffe63b4387ce38c7138e0685d94ab0f Mon Sep 17 00:00:00 2001 From: zhoujunhao <18853925545@163.com> Date: Fri, 8 Jun 2018 14:14:17 +0800 Subject: [PATCH] test --- builder/discover/discover.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/discover/discover.go b/builder/discover/discover.go index a9fb604f5..e2689eeb8 100644 --- a/builder/discover/discover.go +++ b/builder/discover/discover.go @@ -91,6 +91,7 @@ func (t *TaskManager) cleanVersion() { for _, v := range result { filePath := v.DeliveredPath + fmt.Println(v.CreatedAt) _, err := os.Stat(filePath) if os.IsNotExist(err) { @@ -121,6 +122,7 @@ func (t *TaskManager) cleanVersion() { for _, v := range imageResult { imagePath := v.DeliveredPath fmt.Println(imagePath) + fmt.Println(v.CreatedAt) err := sources.ImageRemove(dc, imagePath) if err != nil { logrus.Error(err)