[migration] fix missing return
This commit is contained in:
parent
6a531eba8d
commit
da908cebfb
|
@ -1336,6 +1336,7 @@ func (p *DispatcherProcessor) cleanGatewayQueue(taskItem *task2.Task) {
|
|||
instanceID := taskItem.Metadata.Labels["execution_instance_id"]
|
||||
if instanceID == "" {
|
||||
log.Debugf("task [%s] not scheduled yet, skip cleaning queue", taskItem.ID)
|
||||
return
|
||||
}
|
||||
instance.ID, _ = util.ExtractString(instanceID)
|
||||
_, err = orm.Get(&instance)
|
||||
|
|
Loading…
Reference in New Issue