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

Custom error for homebrew table not found #1872

Merged
merged 7 commits into from
Sep 24, 2024
Merged

Conversation

Dharma-09
Copy link
Contributor

@Dharma-09 Dharma-09 commented Sep 19, 2024

Which issue(s) this PR fixes:
#1864

Description:
In the given solution, an error is returned every time an issue occurs during the validatedCommand call, regardless of the cause. For instance, if the binary file does not exist, should we use a specific error to handle this scenario?

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@RebeccaMahany RebeccaMahany left a comment

Choose a reason for hiding this comment

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

Just a couple small comments, looks good to me overall! Will hold off on approval till @directionless or another team member gets a chance to look as well 🙂

ee/allowedcmd/cmd_linux.go Outdated Show resolved Hide resolved
ee/allowedcmd/cmd.go Outdated Show resolved Hide resolved
ee/allowedcmd/cmd.go Outdated Show resolved Hide resolved
@RebeccaMahany RebeccaMahany added the component:table Table Changes label Sep 20, 2024
directionless
directionless previously approved these changes Sep 23, 2024
Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

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

I think Becca covered all my comments. Thank you so much for you contribution!

Copy link
Contributor

@RebeccaMahany RebeccaMahany left a comment

Choose a reason for hiding this comment

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

LGTM once the lint passes!

ee/allowedcmd/cmd.go Outdated Show resolved Hide resolved
Copy link
Contributor

@RebeccaMahany RebeccaMahany left a comment

Choose a reason for hiding this comment

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

🔥

@RebeccaMahany RebeccaMahany added this pull request to the merge queue Sep 24, 2024
Merged via the queue into kolide:main with commit 1ec19cd Sep 24, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:table Table Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants