[skip ci] Add comment for taskID (#9833)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/9770/head
xige-16 2021-10-13 21:22:47 +08:00 committed by GitHub
parent 59daccf67c
commit ddf0cd2174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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
}