Skip to content

Commit 8ab807b

Browse files
committed
Fix typo in error message in newLogHandler.go
1 parent b0428bf commit 8ab807b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

correlation/api/newLogHandler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func NewLog(c *gin.Context) {
6868
if !gjson.Get(l, "dataType").Exists() ||
6969
!gjson.Get(l, "dataSource").Exists() {
7070
response["status"] = "error"
71-
response["error"] = "The log does't have the required fields. Please be sure that you are sending the @timestamp in RFC3339Nano format, the dataType that could be windows, linux, iis, macos, ... and the dataSource that could be the Hostname or IP of the log source."
71+
response["error"] = "The log doesn't have the required fields. Please be sure that you are sending the @timestamp in RFC3339Nano format, the dataType that could be windows, linux, iis, macos, ... and the dataSource that could be the Hostname or IP of the log source."
7272
log.Printf("%s LOG: %s", response["error"], l)
7373
c.JSON(http.StatusBadRequest, response)
7474
return

0 commit comments

Comments
 (0)