-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove erroneous status reporting (#42435)
This commit removes a redundant status reporting from the Filestream input. `inp.readFromSource` can only return the error from the canceler, this error should not be reported to the manager/Elastic-Agent. `inp.readFromSource` is called by `filestream.Run`, which is called by the `startHarvester` function. This function already reports the error returned by `filestream.Run` and correctly filters out 'context cancelled' errors. (cherry picked from commit 1a0a732)
- Loading branch information
1 parent
4b7b380
commit 7f32962
Showing
2 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters