libvirt-exporter icon indicating copy to clipboard operation
libvirt-exporter copied to clipboard

Fix domain GetVcpus()

Open jkloetzke opened this issue 1 year ago • 0 comments

A domain might not be running, thus returning zero vCPUs. Bail out early because a zero length array cannot be passed to the underlying libvirt function.

jkloetzke avatar Mar 03 '23 15:03 jkloetzke