Skip to content

Commit

Permalink
CA-363819: Fixed issue where VM network usage data were not shown on …
Browse files Browse the repository at this point in the history
…the Search TabPage.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
  • Loading branch information
kc284 committed Feb 17, 2022
1 parent 7257253 commit 2f096ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XenModel/XenSearch/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ private static IComparable NetworkTextProperty(IXenObject o)
if (o is VM vm)
{
return vm.is_a_real_vm() &&
vm.power_state != vm_power_state.Running &&
vm.power_state == vm_power_state.Running &&
vm.GetVirtualisationStatus(out _).HasFlag(VM.VirtualisationStatus.IO_DRIVERS_INSTALLED)
? PropertyAccessorHelper.vmNetworkUsageString(vm)
: null;
Expand Down

0 comments on commit 2f096ff

Please sign in to comment.