From ab0255b21af2ed6211bcd2e5a148b6f506ce0b4f Mon Sep 17 00:00:00 2001 From: dragondriver Date: Fri, 1 Oct 2021 15:37:18 +0800 Subject: [PATCH] [skip ci] Add desc comments for Condition (#9019) Signed-off-by: dragondriver --- internal/proxy/condition.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/condition.go b/internal/proxy/condition.go index b77b6c4b97..e760fe7c2d 100644 --- a/internal/proxy/condition.go +++ b/internal/proxy/condition.go @@ -16,6 +16,7 @@ import ( "errors" ) +// Condition defines the interface of variable condition. type Condition interface { WaitToFinish() error Notify(err error)