Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #16693 to 7.x: [libbeat] [cleanup] make spool.{Spool, Settings} internal #16888

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

faec
Copy link
Contributor

@faec faec commented Mar 6, 2020

Cherry-pick of PR #16693 to 7.x branch. Original message:

What does this PR do?

Similar to #16667, spool.Spool is an implementation of the queue.Queue interface that is unreferenced outside its own package. This PR renames both the spool and its settings to internal types:

  • spool.Spool -> spool.diskSpool
  • spool.Settings -> spool.settings

so that the disk spool can only be referenced via its queue.Queue implementation in the beats registry.

This PR has no user-visible effects.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works

@faec faec requested a review from urso March 6, 2020 19:26
@faec faec merged commit 536a6a3 into elastic:7.x Mar 6, 2020
@faec faec deleted the backport_16693_7.x branch March 6, 2020 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants