mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-03 04:07:51 +08:00
[ADD] add record print information
This commit is contained in:
parent
3d9b74719c
commit
3dd710ae49
@ -70,13 +70,14 @@ func (t *Manager) Start(errchan chan error) error {
|
||||
for _, v := range results {
|
||||
serviceIDList = append(serviceIDList, v.ServiceID)
|
||||
}
|
||||
logrus.Info("More than 5 versions of the application",len(serviceIDList))
|
||||
versions, err := db.GetManager().VersionInfoDao().GetVersionInfo(datetime, serviceIDList)
|
||||
if err != nil {
|
||||
logrus.Error(err)
|
||||
}
|
||||
|
||||
for _, v := range versions {
|
||||
|
||||
logrus.Info(v.CreatedAt,v.ID)
|
||||
if v.DeliveredType == "image" {
|
||||
imagePath := v.DeliveredPath
|
||||
err := sources.ImageRemove(t.dclient, imagePath) //remove image
|
||||
|
Loading…
Reference in New Issue
Block a user