Skip to content

Commit

Permalink
Update informer.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
andekande authored Jan 20, 2023
1 parent 14b6d48 commit e0127b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/informer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ export function makeInformer<T extends KubernetesObject>(
path: string,
listPromiseFn: ListPromise<T>,
labelSelector?: string,
fieldSelector?: string,
): Informer<T> & ObjectCache<T> {
const watch = new Watch(kubeconfig);
return new ListWatch<T>(path, watch, listPromiseFn, false, labelSelector);
return new ListWatch<T>(path, watch, listPromiseFn, false, labelSelector, fieldSelector);
}

0 comments on commit e0127b4

Please sign in to comment.