mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 03:07:51 +08:00
test
This commit is contained in:
parent
855e0b4b9b
commit
63894d6d8f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user