mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
lease: fix typos
a. fix typo in godoc b. make receiver of FakeLessor's function identical
This commit is contained in:
parent
589a7a19ac
commit
77a19cd9d4
@ -12,5 +12,5 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package lease provides an interface and implemetation for time-limited leases over arbitrary resources.
|
||||
// Package lease provides an interface and implementation for time-limited leases over arbitrary resources.
|
||||
package lease
|
||||
|
@ -649,9 +649,9 @@ func (fl *FakeLessor) Demote() {}
|
||||
|
||||
func (fl *FakeLessor) Renew(id LeaseID) (int64, error) { return 10, nil }
|
||||
|
||||
func (le *FakeLessor) Lookup(id LeaseID) *Lease { return nil }
|
||||
func (fl *FakeLessor) Lookup(id LeaseID) *Lease { return nil }
|
||||
|
||||
func (le *FakeLessor) Leases() []*Lease { return nil }
|
||||
func (fl *FakeLessor) Leases() []*Lease { return nil }
|
||||
|
||||
func (fl *FakeLessor) ExpiredLeasesC() <-chan []*Lease { return nil }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user