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

Do not raise an error about the missing project in non-auth commands #255

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

rominf
Copy link
Contributor

@rominf rominf commented Jan 17, 2022

#247 introduced a bug: an error about a missing project was raised even if the project was optional.
This change fixes this by splitting get_project to get_non_none_project and get_project.

@rominf rominf force-pushed the rominf-get_non_none_project branch 2 times, most recently from 0118533 to f99d68f Compare January 17, 2022 10:09
@rominf rominf marked this pull request as ready for review January 17, 2022 10:09
@rominf rominf requested a review from a team as a code owner January 17, 2022 10:09
@rominf rominf marked this pull request as draft January 17, 2022 10:29
#247 introduced a bug: an
error about a missing project was raised even if the project was
optional.
@rominf rominf force-pushed the rominf-get_non_none_project branch from f99d68f to 9e3131b Compare January 17, 2022 10:32
@rominf rominf marked this pull request as ready for review January 17, 2022 10:33
Copy link
Contributor

@dmitrii-vasilev dmitrii-vasilev left a comment

Choose a reason for hiding this comment

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

Looks good now. Just one comment

aiven/client/cli.py Show resolved Hide resolved
Copy link
Contributor

@dmitrii-vasilev dmitrii-vasilev left a comment

Choose a reason for hiding this comment

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

LGTM

@dmitrii-vasilev dmitrii-vasilev merged commit a8c0dea into master Jan 17, 2022
@dmitrii-vasilev dmitrii-vasilev deleted the rominf-get_non_none_project branch January 17, 2022 10:37
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.

None yet

2 participants