};
const status = await this.fetch(
`/api2/json/nodes/${this.item.node}/status`,
- options
+ options,
);
// main metrics:
const decimalsToShow = this.item.hide_decimals ? 0 : 1;
if (this.isValueShown("vms")) {
const vms = await this.fetch(
`/api2/json/nodes/${this.item.node}/qemu`,
- options
+ options,
);
this.parseVMsAndLXCs(vms, this.vms);
}
if (this.isValueShown("lxcs")) {
const lxcs = await this.fetch(
`/api2/json/nodes/${this.item.node}/lxc`,
- options
+ options,
);
this.parseVMsAndLXCs(lxcs, this.lxcs);
}