From ae4f0402215467456a8e1e7923d0241358203ccd Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 30 Jul 2024 18:19:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4kvdb=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/state/getstate.go | 8 ++++---- misc/omcsvc.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/features/state/getstate.go b/features/state/getstate.go index 5edcfde4..482e9f51 100644 --- a/features/state/getstate.go +++ b/features/state/getstate.go @@ -506,11 +506,11 @@ func GetOneSysinfoFromNF(w http.ResponseWriter, r *http.Request) { if systemState.HostName != "" { hostName = systemState.HostName } - osInfo := "Linux 5gc 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 GNU/Linux" + osInfo := "Linux 5gc 4.15.0-29-generic SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 GNU/Linux" if systemState.OsInfo != "" { osInfo = systemState.OsInfo } - dbInfo := "kvdb v1.0.1" + dbInfo := "db v1.4.15" if systemState.OsInfo != "" { dbInfo = systemState.DbInfo } @@ -652,11 +652,11 @@ func GetAllSysinfoFromNF(w http.ResponseWriter, r *http.Request) { if systemState.HostName != "" { hostName = systemState.HostName } - osInfo := "Linux 5gc 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 GNU/Linux" + osInfo := "Linux 5gc 4.15.0-29-generic SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 GNU/Linux" if systemState.OsInfo != "" { osInfo = systemState.OsInfo } - dbInfo := "kvdb v1.0.1" + dbInfo := "db v1.4.15" if systemState.OsInfo != "" { dbInfo = systemState.DbInfo } diff --git a/misc/omcsvc.sh b/misc/omcsvc.sh index ef5d18e8..947c0f3b 100644 --- a/misc/omcsvc.sh +++ b/misc/omcsvc.sh @@ -1,7 +1,7 @@ #!/bin/bash -ProcList="restagent crontask sshsvc captrace kvdb" -ProcListDesc="kvdb crontask sshsvc captrace restagent" +ProcList="restagent crontask sshsvc captrace" +ProcListDesc="crontask sshsvc captrace restagent" BinDir=/usr/local/omc/bin