etcdserver: remove redundant parentheses.

This commit is contained in:
caoming
2019-01-07 10:27:52 +08:00
parent f0aeb705ce
commit 802e2aaadd
4 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ func (eh *EventHistory) scan(key string, recursive bool, index uint64) (*Event,
e := eh.Queue.Events[i]
if !e.Refresh {
ok := (e.Node.Key == key)
ok := e.Node.Key == key
if recursive {
// add tailing slash