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

Refactor input output path handling #68

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

agrare
Copy link
Member

@agrare agrare commented Jul 20, 2023

The base State#run! method tried to reduce code duplication by unifying input_path and output_path handling, however not all states have input_path and output_path defined so these states had to override the whole run! method.

Depends on:

@agrare agrare force-pushed the refactor_input_output_path_handling branch from 61c2195 to 4fbd077 Compare July 20, 2023 14:25
@miq-bot
Copy link
Member

miq-bot commented Jul 20, 2023

Checked commit agrare@4fbd077 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
9 files checked, 0 offenses detected
Everything looks fine. 👍

@kbrock kbrock merged commit 01a3b2b into ManageIQ:master Jul 20, 2023
4 checks passed
@agrare agrare deleted the refactor_input_output_path_handling branch July 20, 2023 14:52
agrare added a commit that referenced this pull request Jul 24, 2023
Fixed
- Don't pick up real KUBECONFIG for tests (#73)
- Fix double json.parse and context default value (#69)

Added
- Configure Renovate (#46)

Changed
- Simplify next state handling (#66)
- Refactor Input/Output path handling (#68)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants