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

Make IsMissingNamespaceErr return bool only, split func #910

Merged
merged 2 commits into from
May 7, 2024

Conversation

skitt
Copy link
Member

@skitt skitt commented May 7, 2024

In practice I find IsMissingNamespaceErr cumbersome to use, since it always requires storing its result in variables even though common usage patterns involve if statements.

Splitting it into two functions this. The repeated processing shouldn't be an issue in practice, especially since (current) uses of this function only happen once in the lifetime of a given program.

In practice I find IsMissingNamespaceErr cumbersome to use, since it
always requires storing its result in variables even though common
usage patterns involve if statements.

Splitting it into two functions this. The repeated processing
shouldn't be an issue in practice, especially since (current) uses of
this function only happen once in the lifetime of a given program.

Signed-off-by: Stephen Kitt <[email protected]>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr910/skitt/split-missing-namespace-error

@dfarrell07 dfarrell07 enabled auto-merge (rebase) May 7, 2024 17:06
@dfarrell07 dfarrell07 merged commit 5ce3414 into submariner-io:devel May 7, 2024
16 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr910/skitt/split-missing-namespace-error]

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.

4 participants