diff --git a/internal/querycoord/task.go b/internal/querycoord/task.go index f726e88110..d755992ecc 100644 --- a/internal/querycoord/task.go +++ b/internal/querycoord/task.go @@ -120,6 +120,7 @@ func newBaseTask(ctx context.Context, triggerType querypb.TriggerCondition) *Bas return baseTask } +// ID function returns the unique taskID of the trigger task func (bt *BaseTask) ID() UniqueID { return bt.taskID }