1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix lint error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-12-29 10:08:26 +03:00
parent 21f07b3d24
commit bfb95272f7

View File

@ -25,6 +25,7 @@ export class PodsStore extends KubeObjectStore<Pod> {
async loadKubeMetrics(namespace?: string) { async loadKubeMetrics(namespace?: string) {
try { try {
const metrics = await podMetricsApi.list({ namespace }); const metrics = await podMetricsApi.list({ namespace });
this.kubeMetrics.replace(metrics); this.kubeMetrics.replace(metrics);
} catch (error) { } catch (error) {
console.error("loadKubeMetrics failed", error); console.error("loadKubeMetrics failed", error);