Repository navigation
Show errors when linting for Chart.yaml version and appVersion fields of type non-string - #7235
Merged
Merged
Conversation
karuppiah7890
force-pushed
the
fix-lint
branch
from
December 16, 2019 07:46
9628760 to
9cc1e23
Compare
mattfarina
requested changes
Jan 22, 2020
karuppiah7890
force-pushed
the
fix-lint
branch
from
January 26, 2020 07:04
9cc1e23 to
8ceb2c8
Compare
Contributor
Author
|
I've pushed the changes @mattfarina ! Added a small comment too for the private function, for clarity |
… of type non-string Signed-off-by: Karuppiah Natarajan <[email protected]>
bacongobbler
approved these changes
Jul 7, 2020
bacongobbler
left a comment
Member
There was a problem hiding this comment.
Works as intended. LGTM.
~/code/go/src/helm.sh/helm ><> ./bin/helm create test-7235
Creating test-7235
~/code/go/src/helm.sh/helm ><> ./bin/helm lint ./test-7235/
==> Linting ./test-7235/
[INFO] Chart.yaml: icon is recommended
1 chart(s) linted, 0 chart(s) failed
~/code/go/src/helm.sh/helm ><> vim ./test-7235/Chart.yaml
~/code/go/src/helm.sh/helm ><> ./bin/helm lint ./test-7235/
==> Linting ./test-7235/
[ERROR] Chart.yaml: version should be of type string but it's of type float64
[INFO] Chart.yaml: icon is recommended
Error: 1 chart(s) linted, 1 chart(s) failed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6921 . Fixes linting. Package fix - have to discuss