From 61a54e7ba46f5894df095d699d923b7fc8adc296 Mon Sep 17 00:00:00 2001 From: nimrodshn Date: Tue, 20 Jun 2017 15:37:10 +0300 Subject: [PATCH] fix non existent container showing in report add minor refactoring refactored reports --- .../040_Recently Discovered Container Groups.yaml | 6 +++++- .../060_Pods per Ready Status.yaml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/product/reports/170_Configuration Management - Containers/040_Recently Discovered Container Groups.yaml b/product/reports/170_Configuration Management - Containers/040_Recently Discovered Container Groups.yaml index 6d5219f6d75..9e477865213 100644 --- a/product/reports/170_Configuration Management - Containers/040_Recently Discovered Container Groups.yaml +++ b/product/reports/170_Configuration Management - Containers/040_Recently Discovered Container Groups.yaml @@ -17,7 +17,11 @@ headers: - Name - Ready Status - Creation -conditions: +conditions: !ruby/object:MiqExpression + exp: + IS NOT NULL: + field: ContainerGroup-deleted_on + value: order: Descending sortby: - ems_created_on diff --git a/product/reports/170_Configuration Management - Containers/060_Pods per Ready Status.yaml b/product/reports/170_Configuration Management - Containers/060_Pods per Ready Status.yaml index 0df988d1335..3860723d0b5 100644 --- a/product/reports/170_Configuration Management - Containers/060_Pods per Ready Status.yaml +++ b/product/reports/170_Configuration Management - Containers/060_Pods per Ready Status.yaml @@ -14,7 +14,11 @@ col_order: headers: - "# Pods per Ready Status" - Ready Condition Status -conditions: +conditions: !ruby/object:MiqExpression + exp: + IS NOT NULL: + field: ContainerGroup-deleted_on + value: order: Ascending sortby: - ready_condition_status