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

Fixing GetSourceRequest #402

Merged
merged 3 commits into from
Oct 23, 2023
Merged

Conversation

VachaShah
Copy link
Collaborator

Description

Source parameter in GetSourceRequest is not correctly defined. Fixing that and adding tests and samples for the GetSource API.

Issues Resolved

Fixes #283

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>

```go
getSourceRequest := opensearchapi.GetSourceRequest{
Index: "movies",
Copy link
Member

Choose a reason for hiding this comment

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

Tabs vs. spaces here? ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah! I will fix it in a open PR :)

@dblock dblock merged commit 29f1735 into opensearch-project:main Oct 23, 2023
47 checks passed
@VachaShah VachaShah deleted the issue-283 branch October 23, 2023 17:24
VachaShah added a commit to VachaShah/opensearch-go that referenced this pull request Oct 23, 2023
* Fixing GetSourceRequest source field

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding sample code for get source api

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding changelog

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
dblock pushed a commit that referenced this pull request Oct 23, 2023
* Cleaning up changelog and updating documentation (#401)

* Cleaning up changelog

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Updating compatibility matrix

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Fixing GetSourceRequest (#402)

* Fixing GetSourceRequest source field

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding sample code for get source api

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding changelog

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
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.

[BUG] GetSourceRequest has unnecessary field _source
2 participants