1
0

fix(task): do not try to set bucket for filtered bucket configuration

This commit is contained in:
kolaente
2024-06-03 17:02:50 +02:00
parent 43244156b4
commit c47d8c6dbe

View File

@ -656,7 +656,7 @@ func checkBucketLimit(s *xorm.Session, t *Task, bucket *Bucket) (err error) {
// Contains all the task logic to figure out what bucket to use for this task. // Contains all the task logic to figure out what bucket to use for this task.
func setTaskBucket(s *xorm.Session, task *Task, originalTask *Task, view *ProjectView, targetBucketID int64) (err error) { func setTaskBucket(s *xorm.Session, task *Task, originalTask *Task, view *ProjectView, targetBucketID int64) (err error) {
if view.BucketConfigurationMode == BucketConfigurationModeNone { if view.BucketConfigurationMode != BucketConfigurationModeManual {
return return
} }