fix: 移除kvdb相关信息
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user