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

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

+3
View File
@@ -62,6 +62,9 @@ func (s *Server) hardwarePreflight(ctx context.Context, id string, in hardwareIn
if err != nil {
return d, h, config, errors.New("无法读取 PVE 规格")
}
if err = s.exclusiveGPUMaintenance(ctx, db, d); err != nil {
return d, h, config, err
}
reject := func(message string) (model.Desktop, proxmox.VMHardware, map[string]any, error) {
return d, h, config, errors.New(message)
}