func applyLeaseRevoke(le lease.Lessor, lc *pb.LeaseRevokeRequest) (*pb.LeaseRevokeResponse, error) { err := le.Revoke(lease.LeaseID(lc.ID)) return &pb.LeaseRevokeResponse{}, err }
func applyLeaseRevoke(lessor lease.Lessor, req *etcdserverpb.LeaseRevokeRequest) (*etcdserverpb.LeaseRevokeResponse, error) { err := lessor.Revoke(lease.LeaseID(req.ID)) return &etcdserverpb.LeaseRevokeResponse{}, err }