Commit remaining workspace changes

This commit is contained in:
2026-02-15 19:53:38 +03:00
parent fd149c3d64
commit e6eca7cd50
7 changed files with 26 additions and 16 deletions

View File

@@ -155,10 +155,6 @@ func (h ingestHandlers) handleHardware(w http.ResponseWriter, r *http.Request) {
}
targetHost := strings.TrimSpace(req.TargetHost)
if targetHost == "" {
writeValidationError(w, "target_host", "target_host is required")
return
}
if strings.TrimSpace(req.CollectedAt) == "" {
writeValidationError(w, "collected_at", "collected_at is required")
return