2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00

fix: lint

This commit is contained in:
耗子
2024-03-16 23:04:18 +08:00
parent 1e8c4945d5
commit 97c3f4c7c7
2 changed files with 10 additions and 10 deletions

View File

@@ -154,11 +154,11 @@ func (r *Postgresql15Controller) Load(ctx http.Context) http.Response {
}
data := []types.NV{
{"启动时间", carbon.Parse(time).ToDateTimeString()},
{"进程 PID", pid},
{"进程数", process},
{"总连接数", connections},
{"空间占用", storage},
{Name: "启动时间", Value: carbon.Parse(time).ToDateTimeString()},
{Name: "进程 PID", Value: pid},
{Name: "进程数", Value: process},
{Name: "总连接数", Value: connections},
{Name: "空间占用", Value: storage},
}
return controllers.Success(ctx, data)