mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 16:00:51 +00:00
fix: Fix container image deletion warning anomalies (#10078)
This commit is contained in:
@@ -421,6 +421,9 @@ func (u *ImageService) ImageRemove(req dto.BatchDelete) error {
|
||||
return nil
|
||||
}, nil)
|
||||
}
|
||||
if len(req.TaskID) == 0 {
|
||||
return taskItem.Execute()
|
||||
}
|
||||
go func() {
|
||||
_ = taskItem.Execute()
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user