Skip to content

Commit

Permalink
fixing some linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kvalliyurnatt committed Feb 2, 2024
1 parent 48ce020 commit d97d5fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17295,15 +17295,6 @@ type: boolean
--
Internal flow ID based on connection meta data and address.
--
*`flow.kill_reason`*::
+
--
Indicates why a flow was killed, when a flow is killed. This field is not added for intermediate flow events.
IdleTimeout: The Flow was terminated because it was considered to be idle.
ActiveTimeout: The Flow was terminated for reporting purposes while it was still active.
--
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/flows/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func TestCreateEvent(t *testing.T) {

// Write the event to disk if -data is used.
if *dataFlag {
event.Fields.Put("@timestamp", common.Time(end)) //nolint:errcheck // Never fails.
event.Fields.Put("@timestamp", common.Time(end))
output, err := json.MarshalIndent(&event.Fields, "", " ")
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit d97d5fe

Please sign in to comment.