summaryrefslogtreecommitdiff
path: root/0003-fix-issue-cve-fix-result-doesn-t-match-log.patch
diff options
context:
space:
mode:
Diffstat (limited to '0003-fix-issue-cve-fix-result-doesn-t-match-log.patch')
-rw-r--r--0003-fix-issue-cve-fix-result-doesn-t-match-log.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/0003-fix-issue-cve-fix-result-doesn-t-match-log.patch b/0003-fix-issue-cve-fix-result-doesn-t-match-log.patch
new file mode 100644
index 0000000..827e11a
--- /dev/null
+++ b/0003-fix-issue-cve-fix-result-doesn-t-match-log.patch
@@ -0,0 +1,24 @@
+From 0aad5ad09a5860bb43a9a64337cefe5813424288 Mon Sep 17 00:00:00 2001
+From: rabbitali <shusheng.wen@outlook.com>
+Date: Fri, 9 Jun 2023 15:42:42 +0800
+Subject: [PATCH] fix issue: cve fix result doesn't match log
+
+---
+ ceres/manages/vulnerability_manage.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ceres/manages/vulnerability_manage.py b/ceres/manages/vulnerability_manage.py
+index a395620..c153190 100644
+--- a/ceres/manages/vulnerability_manage.py
++++ b/ceres/manages/vulnerability_manage.py
+@@ -298,7 +298,7 @@ class VulnerabilityManage:
+ syscare_res = self._syscare_change_status(hot_pkg, cve.get('accepted'))
+ if not syscare_res:
+ return False, res
+- return "Active/Accept hot patch succeed" in res or "No hot patches marked for install" in res, res
++ return "Apply hot patch succeed" in res or "No hot patches marked for install" in res, res
+ else:
+ return "Complete" in res, res
+
+--
+