fix(structs): correct 'occured' -> 'occurred' in ACLTemplatedPolicy errors#23465
fix(structs): correct 'occured' -> 'occurred' in ACLTemplatedPolicy errors#23465SAY-5 wants to merge 3 commits intohashicorp:mainfrom
Conversation
…rrors Two fmt.Errorf strings in agent/structs/acl_templated_policy.go used 'an error occured when' instead of 'an error occurred when'. Both errors are wrapped and surfaced through the templated-policy parsing path, so the spelling is user-visible in API error responses. go build on agent/structs stays clean.
|
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 1 out of 2 committers have signed the CLA.
SAY-5 seems not to be a GitHub user. Have you signed the CLA already but the status is still pending? Recheck it. |
|
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. Have you signed the CLA already but the status is still pending? Recheck it. |
santoshpulluri
left a comment
There was a problem hiding this comment.
Changes are related to fixing the typo in logs. Looks good.
|
Closing — typo-only PR. Multiple maintainers across the OSS ecosystem have flagged my recent typo-sweep PRs as AI-generated spam (notably hashicorp/nomad#27855, hashicorp/hcl#794, argo-cd reviewers). I should have caught this pattern sooner. Apologies for the noise. |
Pull request was closed
Two
fmt.Errorfstrings inagent/structs/acl_templated_policy.gousedan error occured wheninstead ofan error occurred when:Both errors are wrapped and surfaced through the templated-policy parsing path, so the spelling is user-visible in API error responses.
go build ./agent/structs/stays clean against currentmain.