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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix checker error message #1266

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

petelock
Copy link
Contributor

@petelock petelock commented Jan 3, 2024

At the moment the error message thrown when keys are in the wrong order provides the reverse error message to which it should be giving. This PR simply switches the format inputs of the provided error message (no unit tests affected). This gave me a few headaches until I worked through the logic of the code manually and noticed the bug in the error message 馃槃

Simplified Helmfile example:

releases: [...]
bases: [...]

Current error message provided when running a Helmfile command, e.g. helmfile diff:

in ./helmfile.yaml: top-level config key releases must be defined before bases in pre-install.yaml.gotmpl

Signed-off-by: petelock <pete2387@gmail.com>
@petelock petelock marked this pull request as ready for review January 4, 2024 09:08
@yxxhero
Copy link
Member

yxxhero commented Jan 4, 2024

@petelock good work. thanks so much.

@yxxhero yxxhero merged commit 00dc5d9 into helmfile:main Jan 4, 2024
14 checks passed
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.

None yet

2 participants