功能:完善通用云管工作台、审计与诊断能力

This commit is contained in:
songyiming committed 2026-11-11 18:46:16 +08:00
1 parent 5ac692724d
commit 9f05aa20ea
225 files changed
+14266 -141

No files matched your search

@@ -74,6 +74,12 @@ func (s *Server) powerBatchPreflight(ctx context.Context, db sqlx.ExtContext, id
item.Message = message
return d, item, nil
}
if s.exclusiveGPU(d) && action != "shutdown" {
return reject("exclusive_gpu_power", "此桌面共用显卡,请从终端选择页启动")
}
if err = s.exclusiveGPUMaintenance(ctx, db, d); err != nil {
return reject("gpu_switch_busy", err.Error())
}
blocked, err := maintenanceBlocked(ctx, db, id, own, true)
if err != nil {
return d, item, err