Skip to content

Fix Bake attribute definitions that referenced nil pointers #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

rcjsuen
Copy link
Collaborator

@rcjsuen rcjsuen commented Jun 10, 2025

Some of the attribute lookup code assumed that all attributes were inside a block without considering the fact that you can have top level attributes that are not in any block.

Fixes #311.

Some of the attribute lookup code assumed that all attributes were
inside a block without considering the fact that you can have top level
attributes that are not in any block.

Signed-off-by: Remy Suen <remy.suen@docker.com>
@rcjsuen rcjsuen self-assigned this Jun 10, 2025
@rcjsuen rcjsuen merged commit 9cadd16 into main Jun 10, 2025
18 checks passed
@rcjsuen rcjsuen deleted the bake-definition-nil-fix branch June 10, 2025 10:53
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.

Nil pointers referenced when looking up definitions of attributes
1 participant