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

Add response close go client #2828

Conversation

sheltie-fusafusa
Copy link
Contributor

@sheltie-fusafusa sheltie-fusafusa commented Feb 12, 2023

Signed-off-by: Takumi Hamada sheltie.fusafusa@gmail.com

Description

I think response need to close.
because "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Issues Resolved

Checklist

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

@sheltie-fusafusa sheltie-fusafusa requested a review from a team as a code owner February 12, 2023 04:30
@kolchfa-aws kolchfa-aws self-assigned this Feb 12, 2023
@kolchfa-aws
Copy link
Collaborator

Thank you, @sheltie-fusafusa, for contributing! @VachaShah could you please review for technical accuracy? Thank you!

The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
Copy link
Contributor

@VachaShah VachaShah left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @sheltie-fusafusa!

Copy link
Collaborator

@kolchfa-aws kolchfa-aws left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@carolxob carolxob self-requested a review February 20, 2023 16:39
@kolchfa-aws kolchfa-aws added backport 1.3 PR: Backport label for v1.3.x backport 2.0 PR: Backport label for v2.0.x backport 2.1 PR: Backport label for 2.1 backport 2.2 PR: Backport label for 2.2 backport 2.3 PR: Backport label for 2.3 backport 2.4 PR: Backport label for 2.4 backport 2.5 PR: Backport label for 2.5 labels Feb 20, 2023
@kolchfa-aws kolchfa-aws merged commit 94e11ab into opensearch-project:main Feb 20, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)
kolchfa-aws pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)

Co-authored-by: sheltie <sheltie.fusafusa@gmail.com>
kolchfa-aws pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)

Co-authored-by: sheltie <sheltie.fusafusa@gmail.com>
kolchfa-aws pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)

Co-authored-by: sheltie <sheltie.fusafusa@gmail.com>
kolchfa-aws pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)

Co-authored-by: sheltie <sheltie.fusafusa@gmail.com>
kolchfa-aws pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)

Co-authored-by: sheltie <sheltie.fusafusa@gmail.com>
kolchfa-aws pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)

Co-authored-by: sheltie <sheltie.fusafusa@gmail.com>
kolchfa-aws pushed a commit that referenced this pull request Feb 20, 2023
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* delete defer

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

* Revert "delete defer"

This reverts commit 6852b1c.

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>

---------

Signed-off-by: sheltie <sheltie.fusafusa@gmail.com>
(cherry picked from commit 94e11ab)

Co-authored-by: sheltie <sheltie.fusafusa@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.3 PR: Backport label for v1.3.x backport 2.0 PR: Backport label for v2.0.x backport 2.1 PR: Backport label for 2.1 backport 2.2 PR: Backport label for 2.2 backport 2.3 PR: Backport label for 2.3 backport 2.4 PR: Backport label for 2.4 backport 2.5 PR: Backport label for 2.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants