[skip e2e] improve annotation (#13827)

Signed-off-by: Xieql <727092844@qq.com>
pull/13873/head
Xieql 2021-12-21 15:23:17 +08:00 committed by GitHub
parent 1341dcd3f8
commit cdab13668a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ func (w *sessionWatcher) start() {
// typeutil.type.go. // typeutil.type.go.
// revision is a etcd reversion to prevent missing key events and can be obtained // revision is a etcd reversion to prevent missing key events and can be obtained
// in GetSessions. // in GetSessions.
// If a server up, a event will be add to channel with eventType SessionAddType. // If a server up, an event will be add to channel with eventType SessionAddType.
// If a server down, a event will be add to channel with eventType SessionDelType. // If a server down, a event will be add to channel with eventType SessionDelType.
func (s *Session) WatchServices(prefix string, revision int64, rewatch Rewatch) (eventChannel <-chan *SessionEvent) { func (s *Session) WatchServices(prefix string, revision int64, rewatch Rewatch) (eventChannel <-chan *SessionEvent) {
w := &sessionWatcher{ w := &sessionWatcher{