fix typo in code comment

This commit is contained in:
Clint Shryock 2019-02-28 10:26:40 -06:00
parent 4bd2a6a305
commit d0bc30db59
No known key found for this signature in database
GPG key ID: B7C8F9C70EC5CD29

View file

@ -196,7 +196,7 @@ func (i *InmemBackend) FailDelete(fail bool) {
atomic.StoreUint32(i.failDelete, val)
}
// List is used ot list all the keys under a given
// List is used to list all the keys under a given
// prefix, up to the next prefix.
func (i *InmemBackend) List(ctx context.Context, prefix string) ([]string, error) {
i.permitPool.Acquire()