Skip to content

Commit b200098

Browse files
committed
Switch over to VIR_DOMAIN_STATS_VM_* constants
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
1 parent 1149fed commit b200098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connect.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3657,8 +3657,8 @@ func (c *Connect) GetAllDomainStats(doms []*Domain, statsTypes DomainStatsTypes,
36573657
}
36583658
}
36593659

3660-
domstats.VM, gerr = typedParamsUnpackRaw("vm.", filterCustomStats,
3661-
cdomstats.params, cdomstats.nparams)
3660+
domstats.VM, gerr = typedParamsUnpackRaw(C.VIR_DOMAIN_STATS_VM_PREFIX,
3661+
filterCustomStats, cdomstats.params, cdomstats.nparams)
36623662
if gerr != nil {
36633663
return []DomainStats{}, gerr
36643664
}

0 commit comments

Comments
 (0)