fix: 移除kvdb相关信息

This commit is contained in:
TsMask committed 2024-07-30 18:19:44 +08:00
1 parent 9565396931
commit ae4f040221
2 files changed
+6 -6

No files matched your search

+4 -4
View File
@@ -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
}
+2 -2
View File
@@ -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