*: minor typos, kill TODOs

This commit is contained in:
Gyu-Ho Lee
2016-01-20 16:21:39 -08:00
parent cd323e0ec8
commit 835d824965
3 changed files with 2 additions and 4 deletions

View File

@ -349,7 +349,7 @@ func (le *lessor) findExpiredLeases() []*Lease {
}
// get gets the lease with given id.
// get is a helper fucntion for testing, at least for now.
// get is a helper function for testing, at least for now.
func (le *lessor) get(id LeaseID) *Lease {
le.mu.Lock()
defer le.mu.Unlock()