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

Fix crash when chart fails linter #487

Merged
merged 1 commit into from
May 7, 2020
Merged

Fix crash when chart fails linter #487

merged 1 commit into from
May 7, 2020

Conversation

jrhouston
Copy link
Contributor

Description

Resolves #486

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch? (If so, please include the test log in a gist)

@ghost ghost added the size/S label May 7, 2020
continue
messages := []string{}
for _, msg := range r.Messages {
for _, err := range r.Errors {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will only show messages that also appear in the Errors list.

This is a bit clunky but the Messages list will never be large enough for this nested loop to make a meaningful difference.

@jrhouston jrhouston requested review from mcuadros and dak1n1 May 7, 2020 17:53
Copy link
Contributor

@dak1n1 dak1n1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jrhouston jrhouston merged commit 591ab6f into master May 7, 2020
@aareet aareet deleted the linter-crash branch May 22, 2020 01:10
@ghost
Copy link

ghost commented Jun 7, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: rpc error: code = Unavailable desc = transport is closing in release v1.2.0
2 participants