Skip to content

Commit

Permalink
fix(election): hide namespace and lease from election
Browse files Browse the repository at this point in the history
  • Loading branch information
yujuiting committed Apr 16, 2018
1 parent abf5442 commit 914cf40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/election.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { Namespace } from './namespace';
export class Election extends EventEmitter {
public static readonly prefix = 'election';

public readonly namespace: Namespace;
public readonly lease: Lease;
private readonly namespace: Namespace;
private readonly lease: Lease;

private leaseId = '';
private _leaderKey = '';
Expand Down

0 comments on commit 914cf40

Please sign in to comment.