CA-368528: Fix performance data not being updated after a few seconds on VMs

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
This commit is contained in:
Danilo Del Busso 2022-07-19 10:27:52 +01:00 committed by Danilo Del Busso
parent 7c87333439
commit 652845bc8f

View File

@ -308,7 +308,7 @@ namespace XenAdmin.Controls.CustomDataGraph
if (xo is VM vm)
{
var vmHost = vm.Connection.Resolve(vm.resident_on) ?? Helpers.GetCoordinator(vm.Connection);
BuildUri(vmHost, "rrd_updates",
return BuildUri(vmHost, "rrd_updates",
$"session_id={escapedRef}&start={startTime}&cf=AVERAGE&interval={duration}&vm_uuid={vm.uuid}");
}