Merge pull request #22 from Kamesuta/issue/fix-db-view
Some checks failed
Publish Image / build (push) Has been cancelled

Fix #18: viewing DB (MySQL, PostgreSQL, etc...) throws error
This commit is contained in:
Tex
2025-04-07 16:59:59 +08:00
committed by GitHub

View File

@@ -107,7 +107,7 @@ func GetServiceInfo(e *env.Env, c echo.Context) error {
}
info := map[string]string{
"version": "", "internal-ip": "", "status": "", // "dsn": "",
"internal-ip": "", "status": "", // "dsn": "",
}
for key := range info {
cmd := fmt.Sprintf("%s:info %s --%s", req.Type, req.Name, key)