fix: Fix container image deletion warning anomalies (#10078)

This commit is contained in:
ssongliu 2025-08-20 16:44:57 +08:00 committed by GitHub
parent 75197db3e6
commit c69c76f97d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()
}()