Skip to content

NC | NSFS | CLI | Update fetch_existing_account_data #8269

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

Conversation

shirady
Copy link
Contributor

@shirady shirady commented Aug 8, 2024

Explain the changes

  1. In the past, for accout update the identifier could be name or access_key, but today it is only name. Therefore, suggesting to remove the other option (get_account_by_access_key) as it will always use get_account_by_name.

Issues:

  1. None

Testing Instructions:

  1. None (will be tested in the CI).
  • Doc added/updated
  • Tests added

@shirady shirady force-pushed the nsfs-nc-update-fetch-fetch-existing-account-data branch from 84d1fb1 to eb6aaa6 Compare August 8, 2024 08:03
@shirady shirady self-assigned this Aug 8, 2024
@shirady shirady force-pushed the nsfs-nc-update-fetch-fetch-existing-account-data branch from eb6aaa6 to b20b907 Compare August 8, 2024 12:16
@shirady shirady requested a review from naveenpaul1 August 8, 2024 12:17
1. In the past, for accout update the identifier could be name or access_key, but today it is only name.
Therefore, suggesting to remove the other option (get_account_by_access_key ) as it will always use get_account_by_name.

Signed-off-by: shirady <[email protected]>
@shirady shirady force-pushed the nsfs-nc-update-fetch-fetch-existing-account-data branch from b20b907 to a7a5c89 Compare August 8, 2024 12:29
Copy link
Contributor

@romayalon romayalon left a comment

Choose a reason for hiding this comment

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

@shirady Before merging this change we need to validate with CES team they don't use it so we won't break their code.

@shirady shirady marked this pull request as draft August 8, 2024 12:47
@shirady
Copy link
Contributor Author

shirady commented Aug 8, 2024

@romayalon Moved to draft until we get the answer.
As I understand it, it is a dead code according to the follow of validation of identifiers

Copy link
Contributor

@romayalon romayalon left a comment

Choose a reason for hiding this comment

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

As we confirmed it on Slack, approving :)

@shirady shirady marked this pull request as ready for review August 11, 2024 05:01
@shirady shirady merged commit 8b10e2e into noobaa:master Aug 11, 2024
10 checks passed
@shirady shirady deleted the nsfs-nc-update-fetch-fetch-existing-account-data branch August 11, 2024 05:07
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