Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit d966db5

Browse files
committed
refactor: modified variable traceId for private
1 parent 314e7ab commit d966db5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/opencensus-core/src/trace/sampler

packages/opencensus-core/src/trace/sampler/sampler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const MAX_NUMBER = 0xffffffffffffffff;
2424
* This class represent the probability of a tracer.
2525
*/
2626
export class Sampler {
27-
traceId: string;
27+
private traceId: string;
2828
private idUpperBound: number;
2929

3030
/**

0 commit comments

Comments
 (0)