Skip to content

fix(hcl2template): correct 'occured' -> 'occurred' in evaluation diagnostics#13608

Open
SAY-5 wants to merge 1 commit intohashicorp:mainfrom
SAY-5:fix-packer-config-occured-typo
Open

fix(hcl2template): correct 'occured' -> 'occurred' in evaluation diagnostics#13608
SAY-5 wants to merge 1 commit intohashicorp:mainfrom
SAY-5:fix-packer-config-occured-typo

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented Apr 15, 2026

hcl2template/types.packer_config.go raised two HCL diagnostics with 'An error occured while recursively evaluating ...':

Detail: "An error occured while recursively evaluating locals." + ...   // line 322
Detail: "An error occured while recursively evaluating data "   + ...   // line 431

Both messages are surfaced in packer's diagnostic output to end users when local/data evaluation fails. go build ./hcl2template/... stays clean against current main.

…nostic Detail strings

types.packer_config.go raised two HCL diagnostics with 'An error
occured while recursively evaluating ...' instead of 'An error
occurred ...'. Both messages are surfaced in packer's diagnostic
output to end users when local/data evaluation fails. go build on the
hcl2template package stays clean.
@SAY-5 SAY-5 requested a review from a team as a code owner April 15, 2026 16:17
@hashicorp-cla-app
Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


SAY-5 seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA.
If you have already a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.

1 similar comment
@hashicorp-cla-app
Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


SAY-5 seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA.
If you have already a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.

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.

1 participant