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

chore(core/blocking_operator): deduplicate deprecated is_exist logic #5261

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

simonsan
Copy link
Contributor

Closes #5260

Rationale for this change

The logic for is_exist has been kept in place, although it is deprecated and the new method exists has been created. To keep it DRY and I think it makes sense, to let is_exist call exists internally.

What changes are included in this PR?

We call exists from is_exist.

Are there any user-facing changes?

No.

@simonsan simonsan requested a review from Xuanwo as a code owner October 31, 2024 12:24
@simonsan simonsan changed the title chore: deduplicate deprecated is_exist logic chore(core/blocking_operator): deduplicate deprecated is_exist logic Oct 31, 2024
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you @simonsan for this 👍

@Xuanwo Xuanwo merged commit fe48918 into apache:main Oct 31, 2024
235 of 236 checks passed
@simonsan simonsan deleted the chore/dedup_is_exist branch October 31, 2024 13:03
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.

core: Deprecated is_exist method duplicates code
2 participants