Update @kubernetes/client-node to 0.11.1 (#278)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala authored and GitHub committed 2020-04-20 16:17:59 +03:00
1 parent e7511a41ec
commit 01e2ef50b1
6 files changed
+16 -40

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ class ApiWatcher {
this.response = response
}
public start() {
public async start() {
if (this.processor) {
clearInterval(this.processor)
}
@@ -28,7 +28,7 @@ class ApiWatcher {
events.map(event => this.sendEvent(event))
this.response.flushHeaders()
}, 50)
this.watchRequest = this.watch.watch(this.apiUrl, {}, this.watchHandler.bind(this), this.doneHandler.bind(this))
this.watchRequest = await this.watch.watch(this.apiUrl, {}, this.watchHandler.bind(this), this.doneHandler.bind(this))
}
public stop() {