fix(task): do not try to set bucket for filtered bucket configuration
This commit is contained in:
parent
43244156b4
commit
c47d8c6dbe
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user