mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
c82f411a68
commit
fc0632a204
@ -60,12 +60,7 @@ class ApiWatcher {
|
||||
|
||||
private doneHandler(error: Error) {
|
||||
if (error) logger.warn("watch ended: " + error.toString())
|
||||
|
||||
this.sendEvent({
|
||||
type: "STREAM_END",
|
||||
url: this.apiUrl,
|
||||
status: 410,
|
||||
})
|
||||
this.watchRequest.abort()
|
||||
}
|
||||
|
||||
private sendEvent(evt: any) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user