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

simplifying dir_not_exist error #249

Merged
merged 4 commits into from
Oct 22, 2023

Conversation

shireenf-ibm
Copy link
Contributor

since this will be deprecated when refactoring
I thought it is efficient enough to return a description of the error instead of the original error returned by walkFunc

@shireenf-ibm shireenf-ibm linked an issue Oct 12, 2023 that may be closed by this pull request
@shireenf-ibm shireenf-ibm requested a review from adisos October 12, 2023 11:14
Copy link
Collaborator

@adisos adisos 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, just small comments.

pkg/netpol/scan/error_types.go Outdated Show resolved Hide resolved
pkg/netpol/scan/error_types.go Outdated Show resolved Hide resolved
@shireenf-ibm shireenf-ibm requested a review from adisos October 20, 2023 07:28
@shireenf-ibm shireenf-ibm merged commit 2f0e52a into main Oct 22, 2023
4 checks passed
@shireenf-ibm shireenf-ibm deleted the issue_225_simplifying_dir_not_exist_err branch October 22, 2023 08:21
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.

simplifying dir not exist error
2 participants