[skip ci] Add comment for set taskID (#9835)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
xige-16 2021-10-13 21:24:41 +08:00 committed by GitHub
parent ddf0cd2174
commit c84600a496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,7 @@ func (bt *BaseTask) ID() UniqueID {
return bt.taskID
}
// SetID function sets the trigger task with a unique id, which is allocated by tso
func (bt *BaseTask) SetID(id UniqueID) {
bt.taskID = id
}