Skip to content

Commit 646e594

Browse files
committed
fixup! fixup! fixup! fix(cache): update cache with O(1) data structures
1 parent 2bd2529 commit 646e594

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cache.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ export class ListWatch<T extends KubernetesObject> implements ObjectCache<T>, In
3030
[key: string]: Array<ObjectCallback<T> | ErrorCallback>;
3131
} = {};
3232
private request: RequestResult | undefined;
33-
private stopped = false;
33+
private stopped: boolean = false;
3434

3535
public constructor(
3636
private readonly path: string,
3737
private readonly watch: Watch,
3838
private readonly listFn: ListPromise<T>,
39-
autoStart = true,
39+
autoStart: boolean = true,
4040
private readonly labelSelector?: string,
4141
) {
4242
this.callbackCache[ADD] = [];

0 commit comments

Comments
 (0)