mirror of
https://github.com/oarkflow/mq.git
synced 2025-10-06 08:26:52 +08:00
update
This commit is contained in:
@@ -44,7 +44,7 @@ func (e *Condition) ProcessTask(ctx context.Context, task *mq.Task) mq.Result {
|
||||
var conditionStatus string
|
||||
_, ok := e.conditions[defaultKey]
|
||||
for status, condition := range e.conditions {
|
||||
if status != defaultKey {
|
||||
if status != defaultKey && condition != nil {
|
||||
if condition.Match(data) {
|
||||
conditionStatus = status
|
||||
}
|
||||
|
Reference in New Issue
Block a user