From 2e8dd74c7e8f601c5dbf92cde0c0de4736dbd87a Mon Sep 17 00:00:00 2001 From: shaoyue Date: Mon, 10 Jan 2022 18:33:46 +0800 Subject: [PATCH] [skip e2e] Add comment for proxy task (#15089) Signed-off-by: shaoyue.chen --- internal/proxy/task.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/proxy/task.go b/internal/proxy/task.go index 9e086705c5..219c8b9c38 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -4897,18 +4897,22 @@ type DropAliasTask struct { result *commonpb.Status } +// TraceCtx returns the context for trace func (d *DropAliasTask) TraceCtx() context.Context { return d.ctx } +// ID returns the MsgID func (d *DropAliasTask) ID() UniqueID { return d.Base.MsgID } +// SetID sets the MsgID func (d *DropAliasTask) SetID(uid UniqueID) { d.Base.MsgID = uid } +// Name returns the name of the task func (d *DropAliasTask) Name() string { return DropAliasTaskName }