fix: 移除kvdb相关信息

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

View File

@@ -506,11 +506,11 @@ func GetOneSysinfoFromNF(w http.ResponseWriter, r *http.Request) {
if systemState.HostName != "" { if systemState.HostName != "" {
hostName = 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 != "" { if systemState.OsInfo != "" {
osInfo = systemState.OsInfo osInfo = systemState.OsInfo
} }
dbInfo := "kvdb v1.0.1" dbInfo := "db v1.4.15"
if systemState.OsInfo != "" { if systemState.OsInfo != "" {
dbInfo = systemState.DbInfo dbInfo = systemState.DbInfo
} }
@@ -652,11 +652,11 @@ func GetAllSysinfoFromNF(w http.ResponseWriter, r *http.Request) {
if systemState.HostName != "" { if systemState.HostName != "" {
hostName = 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 != "" { if systemState.OsInfo != "" {
osInfo = systemState.OsInfo osInfo = systemState.OsInfo
} }
dbInfo := "kvdb v1.0.1" dbInfo := "db v1.4.15"
if systemState.OsInfo != "" { if systemState.OsInfo != "" {
dbInfo = systemState.DbInfo dbInfo = systemState.DbInfo
} }

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
ProcList="restagent crontask sshsvc captrace kvdb" ProcList="restagent crontask sshsvc captrace"
ProcListDesc="kvdb crontask sshsvc captrace restagent" ProcListDesc="crontask sshsvc captrace restagent"
BinDir=/usr/local/omc/bin BinDir=/usr/local/omc/bin