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

gohcl/decode.go: fix decoding value slices #335

Merged
merged 1 commit into from
Nov 19, 2020
Merged

gohcl/decode.go: fix decoding value slices #335

merged 1 commit into from
Nov 19, 2020

Conversation

invidian
Copy link
Contributor

Currently, if user tries to decode such scenario, it results in
"slice index out of range".

Fixes regression introduced in 42351b1.

Signed-off-by: Mateusz Gozdek mateusz@kinvolk.io

Currently, if user tries to decode such scenario, it results in
"slice index out of range".

Fixes regression introduced in 42351b1.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
@apparentlymart apparentlymart added bug gohcl v2 Relates to the v2 line of releases labels Jan 15, 2020
@invidian
Copy link
Contributor Author

Ping @apparentlymart :)

1 similar comment
@invidian
Copy link
Contributor Author

Ping @apparentlymart :)

@invidian
Copy link
Contributor Author

ping @alisdair

Copy link
Contributor

@alisdair alisdair left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@alisdair alisdair merged commit 7e77010 into hashicorp:hcl2 Nov 19, 2020
@invidian invidian deleted the fix-slice-value-decoding branch November 19, 2020 16:36
invidian added a commit to kinvolk/lokomotive that referenced this pull request Dec 1, 2020
To include hashicorp/hcl#335.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
invidian added a commit to kinvolk/lokomotive that referenced this pull request Dec 2, 2020
To include hashicorp/hcl#335.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
invidian added a commit to kinvolk/lokomotive that referenced this pull request Dec 3, 2020
To include hashicorp/hcl#335.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug gohcl v2 Relates to the v2 line of releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants