Closed hc-github-team-packer closed 4 months ago
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Backport
This PR is auto-generated from #13107 to be assessed for backporting due to the inclusion of the label backport/1.11.x.
The below text is copied from the body of the original PR.
Since the enumer implementation we used hadn't been updated for 5+ years, this didn't work with recent linux/go versions, and enumer crashed while attempting to parse/analyse the source files.
There's another alternative on Github, forked from the one we used, which seems more maintained now, and does produce the expected files in Packer.
Closes: #13082
Overview of commits
- 3d5f7cf8adf9531c2f6861e5b05332cb06cfb12e