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)