Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 9c58a1c

Browse files
myan9starpit
authored andcommitted
fix(plugins/plugin-kubectl): get-watch doesn't update the watcher status when limit is reached
Fixes #7107
1 parent 32b0386 commit 9c58a1c

File tree

1 file changed

+1
-0
lines changed
  • plugins/plugin-kubectl/src/controller/kubectl/watch

1 file changed

+1
-0
lines changed

plugins/plugin-kubectl/src/controller/kubectl/watch/get-watch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ class KubectlWatcher implements Abortable, Watcher {
507507
if (this.limit && remaining <= 0) {
508508
debug('Aborting PTY channel, due to having observed the expected number of completions')
509509
this.abort()
510+
this.pusher.done()
510511
}
511512
}
512513
} else {

0 commit comments

Comments
 (0)