From ddf0cd2174211edfabe3e4701a9f6b2496451bc5 Mon Sep 17 00:00:00 2001 From: xige-16 Date: Wed, 13 Oct 2021 21:22:47 +0800 Subject: [PATCH] [skip ci] Add comment for taskID (#9833) Signed-off-by: xige-16 --- internal/querycoord/task.go | 1 + 1 file changed, 1 insertion(+) 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 }