test
Some checks failed
Gitea CI/CD / dotnet-build-and-test (push) Failing after 38s
Gitea CI/CD / Set Tag Name (push) Has been skipped
Gitea CI/CD / docker-build-and-push (push) Has been skipped
Gitea CI/CD / Create Tag (push) Has been skipped

This commit is contained in:
2026-01-07 12:47:23 +01:00
parent 24538d8030
commit f09434d66d
9 changed files with 394 additions and 2 deletions

View File

@@ -59,7 +59,19 @@ public class MonitoringController : Controller
Server server = await _context.Servers.FindAsync(dto.Id);
// Add Hardware Configuration
try
{
server.CpuType = dto.CpuType;
server.CpuCores = dto.CpuCores;
server.GpuType = dto.GpuType;
server.RamSize = dto.RamSize;
// Diskspace fehlt
}
catch (Exception ex)
{
_logger.LogError(ex.Message);
}
}
catch (Exception ex)
{