Skip to content

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

Merged
Cyclam merged 1 commit intomainfrom
achurchard/use_common_util_to_check_hlem_docker_installed
Mar 19, 2024
Merged

Use common.utils function to check if docker/helm is installed (code …#161
Cyclam merged 1 commit intomainfrom
achurchard/use_common_util_to_check_hlem_docker_installed

Conversation

@Cyclam
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

Looks good to me

@Cyclam Cyclam merged commit 817be2b into main Mar 19, 2024
@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