*: fix misspell

This commit is contained in:
Xiang Li 2016-04-07 21:57:06 -07:00
parent 71a492e59e
commit 9c7fb9c360
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ type ExpectProcess struct {
wg sync.WaitGroup
ptyMu sync.Mutex // protects accessing fpty
cond *sync.Cond // for broadcasting updates are avaiable
cond *sync.Cond // for broadcasting updates are available
mu sync.Mutex // protects lines and err
lines []string
count int // increment whenever new line gets added

View File

@ -241,7 +241,7 @@ func (wg *watcherGroup) scanMinRev(curRev int64, compactRev int64) int64 {
return minRev
}
// watcherSetByKey gets the set of watchers that recieve events on the given key.
// watcherSetByKey gets the set of watchers that receive events on the given key.
func (wg *watcherGroup) watcherSetByKey(key string) watcherSet {
wkeys := wg.keyWatchers[key]
wranges := wg.ranges.Stab(adt.NewStringAffinePoint(key))