From c4f54bf8f8520cb270ad3d7f8c91e12a951f138a Mon Sep 17 00:00:00 2001
From: xuegao <xg353y@intl.att.com>
Date: Tue, 21 Apr 2020 18:05:44 +0200
Subject: Guard policy clean up

Remove guard policy related code, so that it will not be shown or
created in the legacy policy UI.

Issue-ID: CLAMP-825
Change-Id: I6c654fef9fd9df810fd48600c91ffef96db371cd
Signed-off-by: xuegao <xg353y@intl.att.com>
---
 ui-react/src/components/loop_viewer/logs/LoopLogs.test.js           | 6 +++---
 .../components/loop_viewer/logs/__snapshots__/LoopLogs.test.js.snap | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'ui-react/src/components/loop_viewer/logs')

diff --git a/ui-react/src/components/loop_viewer/logs/LoopLogs.test.js b/ui-react/src/components/loop_viewer/logs/LoopLogs.test.js
index 5c478f6a..3b7fd413 100644
--- a/ui-react/src/components/loop_viewer/logs/LoopLogs.test.js
+++ b/ui-react/src/components/loop_viewer/logs/LoopLogs.test.js
@@ -34,7 +34,7 @@ describe('Verify LoopLogs', () => {
 				"id": 1,
 				"logType": "INFO",
 				"logComponent": "CLAMP",
-				"message": "Operational and Guard policies UPDATED",
+				"message": "Operational policies UPDATED",
 				"logInstant": "2019-07-08T09:44:37Z"
 			}
 		]
@@ -51,14 +51,14 @@ describe('Verify LoopLogs', () => {
 				"id": 1,
 				"logType": "INFO",
 				"logComponent": "CLAMP",
-				"message": "Operational and Guard policies UPDATED",
+				"message": "Operational policies UPDATED",
 				"logInstant": "2019-07-08T09:44:37Z"
 			},
 			{
 				"id": 2,
 				"logType": "INFO",
 				"logComponent": "CLAMP",
-				"message": "Operational and Guard policies UPDATED",
+				"message": "Operational policies UPDATED",
 				"logInstant": "2019-07-08T09:44:50Z"
 			}
 			]
diff --git a/ui-react/src/components/loop_viewer/logs/__snapshots__/LoopLogs.test.js.snap b/ui-react/src/components/loop_viewer/logs/__snapshots__/LoopLogs.test.js.snap
index 174a3202..25736d2e 100644
--- a/ui-react/src/components/loop_viewer/logs/__snapshots__/LoopLogs.test.js.snap
+++ b/ui-react/src/components/loop_viewer/logs/__snapshots__/LoopLogs.test.js.snap
@@ -51,7 +51,7 @@ exports[`Verify LoopLogs Test the render method 1`] = `
             "logComponent": "CLAMP",
             "logInstant": "2019-07-08T09:44:37Z",
             "logType": "INFO",
-            "message": "Operational and Guard policies UPDATED",
+            "message": "Operational policies UPDATED",
           }
         }
       />
-- 
cgit