Commit remaining workspace changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user