From 004cad3df979c38ad256da9c874929c945464cab Mon Sep 17 00:00:00 2001 From: Hu gang <18768366022@163.com> Date: Fri, 22 Dec 2023 18:11:43 +0800 Subject: [PATCH] fix: fix diagnosis (cherry picked from commit 70f7c8d1530fd17d86f1c75998151f7c8166cd81) --- 008-fix-diagnosis.patch | 24 ++++++++++++++++++++++++ aops-hermes.spec | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 008-fix-diagnosis.patch diff --git a/008-fix-diagnosis.patch b/008-fix-diagnosis.patch new file mode 100644 index 0000000..f5e3de6 --- /dev/null +++ b/008-fix-diagnosis.patch @@ -0,0 +1,24 @@ +From b820fc785d288835793eddd30cdec8f107519ccc Mon Sep 17 00:00:00 2001 +From: Hu gang <18768366022@163.com> +Date: Fri, 22 Dec 2023 18:02:16 +0800 +Subject: [PATCH] fix: fix diagnosis + +--- + src/views/diagnosis/components/CreateWorkFlow.vue | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/views/diagnosis/components/CreateWorkFlow.vue b/src/views/diagnosis/components/CreateWorkFlow.vue +index ab76dce..cd85a23 100644 +--- a/src/views/diagnosis/components/CreateWorkFlow.vue ++++ b/src/views/diagnosis/components/CreateWorkFlow.vue +@@ -120,7 +120,7 @@ const leftTableColumns = [ + }, + { + title: 'ip地址', +- dataIndex: 'public_ip' ++ dataIndex: 'host_ip' + }, + { + title: '场景', +-- +Gitee diff --git a/aops-hermes.spec b/aops-hermes.spec index 52afd1e..1ec102e 100644 --- a/aops-hermes.spec +++ b/aops-hermes.spec @@ -2,7 +2,7 @@ Name: aops-hermes Version: v1.4.0 -Release: 4 +Release: 5 Summary: Web for an intelligent diagnose frame License: MulanPSL2 URL: https://gitee.com/openeuler/%{name} @@ -15,6 +15,7 @@ Patch004: 004-modify-search-key-for-hostlist.patch Patch005: 005-add-input-text-limit.patch Patch006: 006-host-status-adaption.patch Patch007: 007-host-info-and-generate-task.patch +Patch008: 008-fix-diagnosis.patch BuildRequires: nodejs node-gyp nodejs-yarn Requires: nginx @@ -49,6 +50,9 @@ cp -r deploy/aops-hermes.service %{buildroot}/usr/lib/systemd/system/ %changelog +* Fri Dec 22 2023 Hu gang<18768366022@163.com> - v1.4.0-5 +- Fix diagnosis + * Fri Dec 22 2023 Hu gang<18768366022@163.com> - v1.4.0-4 - Added an interface adaptation for host status - Added a field to determine whether the kernel changes after the host is restarted