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
0453a0f545
commit
45aa08d396
@ -406,7 +406,6 @@ export class KubeApi<T extends KubeObject = any> {
|
|||||||
const event: IKubeWatchEvent = JSON.parse(line);
|
const event: IKubeWatchEvent = JSON.parse(line);
|
||||||
|
|
||||||
if (event.type === "ERROR" && event.object.kind === "Status") {
|
if (event.type === "ERROR" && event.object.kind === "Status") {
|
||||||
console.error(event);
|
|
||||||
errorReceived = true;
|
errorReceived = true;
|
||||||
callback(null, new KubeStatus(event.object as any));
|
callback(null, new KubeStatus(event.object as any));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user