Skip to content

Conversation

anders-swanson
Copy link
Contributor

@anders-swanson anders-swanson commented Feb 14, 2022

Signed-off-by: Anders Swanson anders.swanson@oracle.com

@hosts parameter was not honored during write. This PR provides a fix so @hosts will be honored.

(check all that apply)

  • tests added
  • tests passing
  • README updated (if needed)
  • README Table of Contents updated (if needed)
  • History.md and version in gemspec are untouched
  • backward compatible

Signed-off-by: Anders Swanson <anders.swanson@oracle.com>
@anders-swanson
Copy link
Contributor Author

Suggestions on test for this?

@anders-swanson anders-swanson changed the title Datastream host value wrong during write Honor @hosts parameter for Data Streams Feb 14, 2022
@cosmo0920
Copy link
Collaborator

This patch's testcase should be something like: https://github.com/fluent/fluent-plugin-opensearch/blob/main/test/plugin/test_out_opensearch.rb#L2368-L2397

Signed-off-by: Anders Swanson <anders.swanson@oracle.com>
@anders-swanson
Copy link
Contributor Author

This patch's testcase should be something like: https://github.com/fluent/fluent-plugin-opensearch/blob/main/test/plugin/test_out_opensearch.rb#L2368-L2397

I added the test. Thanks for the suggestion.

Copy link
Collaborator

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really cool. Thanks for your contribution!

@cosmo0920 cosmo0920 merged commit 6e738af into fluent:main Feb 16, 2022
@anders-swanson anders-swanson deleted the datastream-write-host branch February 16, 2022 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants