You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed with @urso this meta issue should be used to collect improvements for libbeat that exceed the scope of cleanup within other PRs. The meta issue should help identifying where code improvements are necessary and not forget about them.
Get rid of using NewBeat returning a half initialized beat, in favor of NewInitializedBeat that ensures full initialization before returning the beat. NewInitializedBeat loads the beat config file and panics if this config is not available. Tests need to be updated to work with the initialization as unit tests by default don't provide the config file. Moreover NewBeat is an exported method, so it should only be deprecated until the next major version upgrade. Reference: Refactor export and idxmgmt handling. #11777 (comment)
As discussed with @urso this meta issue should be used to collect improvements for libbeat that exceed the scope of cleanup within other PRs. The meta issue should help identifying where code improvements are necessary and not forget about them.
NewInitializedBeat
that ensures full initialization before returning the beat.NewInitializedBeat
loads the beat config file and panics if this config is not available. Tests need to be updated to work with the initialization as unit tests by default don't provide the config file. MoreoverNewBeat
is an exported method, so it should only be deprecated until the next major version upgrade. Reference: Refactor export and idxmgmt handling. #11777 (comment)The text was updated successfully, but these errors were encountered: