mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
72d4a1a411
commit
5079946869
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user