mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-13 10:04:42 +08:00
fix: Fix container image deletion warning anomalies (#10078)
This commit is contained in:
parent
75197db3e6
commit
c69c76f97d
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
}()
|
||||
|
|
Loading…
Add table
Reference in a new issue