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

Use common.utils function to check if docker/helm is installed (code … #161

Merged

Conversation

Cyclam
Copy link
Collaborator

@Cyclam Cyclam commented Mar 19, 2024

At some point the check_tool_installed method was moved to common.utils as a function, but it looks like the existing code wasn't deleted from artifact.py.

This PR fixes that. The code diff should be fairly self-explanatory.

The exception type raised changes from CLIError to MissingDependency, but as none of the code as try/except for this function, I think that's fine.

@Cyclam Cyclam requested a review from sunnycarter as a code owner March 19, 2024 15:23
@patrykkulik-microsoft
Copy link
Collaborator

Looks good to me

@Cyclam Cyclam merged commit 817be2b into main Mar 19, 2024
1 check failed
@Cyclam Cyclam deleted the achurchard/use_common_util_to_check_hlem_docker_installed branch March 19, 2024 16:20
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.

2 participants