Skip to content

generate: fix env cache keys#809

Open
chansuke wants to merge 1 commit into
opencontainers:masterfrom
chansuke:issue-798
Open

generate: fix env cache keys#809
chansuke wants to merge 1 commit into
opencontainers:masterfrom
chansuke:issue-798

Conversation

@chansuke
Copy link
Copy Markdown

Closes #798

Summary

  • Fix createEnvCacheMap() to cache environment variables by name instead of the full name=value pair
  • Add regression coverage for env overrides after loading an existing spec through NewFromTemplate() and NewFromSpec()

Testing

  • CGO_ENABLED=0 go test ./generate

@chansuke chansuke requested a review from a team as a code owner May 23, 2026 09:03
Signed-off-by: chansuke <chansuke0@gmail.com>
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.

Bug in createEnvCacheMap()

1 participant