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

Avoid calling login for host #117

Merged
merged 1 commit into from
May 22, 2023
Merged

Avoid calling login for host #117

merged 1 commit into from
May 22, 2023

Conversation

egvili
Copy link
Contributor

@egvili egvili commented May 9, 2023

What does this PR do?

A host does not have a password, hence calling login is redundant for it, as it will only replace api-key with the same api-key.
This PR removed this redundant call for hosts.

What ticket does this PR close?

Resolves ONYX-36741

Checklists

Change log

  • The CHANGELOG has been updated, or
  • This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

  • This PR includes new unit and integration tests to go with the code changes, or
  • The changes in this PR do not require tests

Documentation

  • Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
  • This PR does not require updating any documentation

@egvili egvili requested a review from jeniaSakirko May 9, 2023 12:42
@egvili egvili self-assigned this May 9, 2023
@egvili egvili requested a review from a team as a code owner May 9, 2023 12:42
@szh szh requested a review from gl-johnson May 10, 2023 13:29
@szh szh added the kind/bug label May 10, 2023
Copy link
Contributor

@szh szh left a comment

Choose a reason for hiding this comment

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

Overall LGTM, just a couple comments.

CHANGELOG.md Show resolved Hide resolved
@szh
Copy link
Contributor

szh commented May 10, 2023

@gl-johnson you're more familiar with the Java SDK - can you please look over this briefly? Thanks

@egvili egvili requested a review from szh May 21, 2023 07:00
@egvili egvili requested a review from szh May 22, 2023 12:30
Copy link
Contributor

@gl-johnson gl-johnson left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks

@szh szh merged commit 4740b10 into main May 22, 2023
@szh szh deleted the no-host-login branch May 22, 2023 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants