fix DB view throws error
This commit is contained in:
@@ -107,7 +107,7 @@ func GetServiceInfo(e *env.Env, c echo.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
info := map[string]string{
|
info := map[string]string{
|
||||||
"version": "", "internal-ip": "", "status": "", // "dsn": "",
|
"internal-ip": "", "status": "", // "dsn": "",
|
||||||
}
|
}
|
||||||
for key := range info {
|
for key := range info {
|
||||||
cmd := fmt.Sprintf("%s:info %s --%s", req.Type, req.Name, key)
|
cmd := fmt.Sprintf("%s:info %s --%s", req.Type, req.Name, key)
|
||||||
|
|||||||
Reference in New Issue
Block a user