[skip e2e] Add implementation assertion for taskQueue (#15023)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/15029/head
Jiquan Long 2022-01-07 17:53:28 +08:00 committed by GitHub
parent 149e049f04
commit 92b466800f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ type taskQueue interface {
getMaxTaskNum() int64
}
var _ taskQueue = (*baseTaskQueue)(nil)
// baseTaskQueue implements taskQueue.
type baseTaskQueue struct {
unissuedTasks *list.List