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

Fix Client getters #52

Merged
merged 2 commits into from
Apr 13, 2021
Merged

Fix Client getters #52

merged 2 commits into from
Apr 13, 2021

Conversation

Eyal-Shalev
Copy link
Contributor

  • Changed Client.GetPort() to return an int, per the documentation.
  • Changed Client.GetForwardedPort() to return an int, per the documentation.

- Changed `Client.GetPort()` to return an `int`, per the documentation.
- Changed `Client.GetForwardedPort()` to return an `int`, per the documentation.
@CLAassistant
Copy link

CLAassistant commented Jan 20, 2021

CLA assistant check
All committers have signed the CLA.

@fffonion
Copy link
Contributor

Thank you @Eyal-Shalev for the PR! Could you change the relevant test in client/client_test.go and sign the CLA if appliable?

@Eyal-Shalev
Copy link
Contributor Author

@fffonion tests updated, CLA signed.

@fffonion
Copy link
Contributor

fffonion commented Apr 1, 2021

Thank you @Eyal-Shalev ! Would appreciate another +1 from @javierguerragiraldez

@javierguerragiraldez
Copy link
Contributor

This makes sense. I don't know why we've consistently kept as as string.

@javierguerragiraldez javierguerragiraldez merged commit 35746ae into Kong:master Apr 13, 2021
@Eyal-Shalev Eyal-Shalev deleted the patch-1 branch April 14, 2021 05:10
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.

4 participants