fix DB view throws error

This commit is contained in:
Kamesuta
2025-04-07 02:36:36 +09:00
parent 09a3bd0c91
commit 0fd24e601a

View File

@@ -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)