aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Proxmox.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/services/Proxmox.vue')
-rw-r--r--src/components/services/Proxmox.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/services/Proxmox.vue b/src/components/services/Proxmox.vue
index 8136050..5d0c950 100644
--- a/src/components/services/Proxmox.vue
+++ b/src/components/services/Proxmox.vue
@@ -122,7 +122,7 @@ export default {
122 }; 122 };
123 const status = await this.fetch( 123 const status = await this.fetch(
124 `/api2/json/nodes/${this.item.node}/status`, 124 `/api2/json/nodes/${this.item.node}/status`,
125 options 125 options,
126 ); 126 );
127 // main metrics: 127 // main metrics:
128 const decimalsToShow = this.item.hide_decimals ? 0 : 1; 128 const decimalsToShow = this.item.hide_decimals ? 0 : 1;
@@ -139,7 +139,7 @@ export default {
139 if (this.isValueShown("vms")) { 139 if (this.isValueShown("vms")) {
140 const vms = await this.fetch( 140 const vms = await this.fetch(
141 `/api2/json/nodes/${this.item.node}/qemu`, 141 `/api2/json/nodes/${this.item.node}/qemu`,
142 options 142 options,
143 ); 143 );
144 this.parseVMsAndLXCs(vms, this.vms); 144 this.parseVMsAndLXCs(vms, this.vms);
145 } 145 }
@@ -147,7 +147,7 @@ export default {
147 if (this.isValueShown("lxcs")) { 147 if (this.isValueShown("lxcs")) {
148 const lxcs = await this.fetch( 148 const lxcs = await this.fetch(
149 `/api2/json/nodes/${this.item.node}/lxc`, 149 `/api2/json/nodes/${this.item.node}/lxc`,
150 options 150 options,
151 ); 151 );
152 this.parseVMsAndLXCs(lxcs, this.lxcs); 152 this.parseVMsAndLXCs(lxcs, this.lxcs);
153 } 153 }