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

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Wed Aug 6 09:39:07 UTC 2014


Piotr Kliczewski 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, 3 insertions(+), 2 deletions(-)

Approvals:
  Shahar Havivi: Verified
  Omer Frenkel: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I322a253557c71888307a60e7ae685dd38d637543
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.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