Change in ovirt-engine[master]: engine: search: vms.uptime is not working

shavivi at redhat.com shavivi at redhat.com
Wed Aug 6 07:49:35 UTC 2014


Shahar Havivi has submitted this change and it was merged.

Change subject: engine: search: vms.uptime is not working
......................................................................


engine: search: vms.uptime is not working

when searching for vms: vms.uptime > 01:00 we use the
TimeSpan.TotalSeconds which is always zero (we never pass the seconds
only days, hours and minutes) instead of using the
TimeSpan.TotalMilliseconds which hold the true total time.

Bug-Url: https://bugzilla.redhat.com/1005805
Change-Id: I322a253557c71888307a60e7ae685dd38d637543
Signed-off-by: Shahar Havivi <shaharh at redhat.com>
---
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/VmConditionFieldAutoCompleter.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Shahar Havivi: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/30737
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I322a253557c71888307a60e7ae685dd38d637543
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Eli Mesika <elimesika at gmail.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list