Skip to content

docs: fix hcldec guide example and DecodeBody reference#804

Open
gajjuu wants to merge 1 commit into
hashicorp:mainfrom
gajjuu:fix-docs-hcldec-guide
Open

docs: fix hcldec guide example and DecodeBody reference#804
gajjuu wants to merge 1 commit into
hashicorp:mainfrom
gajjuu:fix-docs-hcldec-guide

Conversation

@gajjuu

@gajjuu gajjuu commented Jun 6, 2026

Copy link
Copy Markdown

Summary

Fixes two documentation issues in guide/go_decoding_hcldec.rst:

  • Replaces undefined variable block.Type with sc.Type in the partial decoding example.
  • Replaces nonexistent gohcl.DecodeBlock reference with gohcl.DecodeBody.

Fixes #800

@gajjuu gajjuu requested a review from a team as a code owner June 6, 2026 21:43
@hashicorp-cla-app

hashicorp-cla-app Bot commented Jun 6, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@crw

crw commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Thanks, I will raise this in triage.

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.

Docs: broken Go example in guide/go_decoding_hcldec.rst (undefined block, nonexistent gohcl.DecodeBlock)

2 participants