Skip to content
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

blueprint: add extra comments to Validate{,LayoutConstraints} #1064

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Nov 25, 2024

This commit ensures that the roles of Validate{,LayoutConstraints} are clearer from the code comments.

Follwup, c.f.
#1041 (comment)

[fwiw, writing it down like this still makes me feel like we currently optimize for the uncommon case here and users can easily forget to call the right API, but adding these comments is useful hopefully in any case]

Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typos

pkg/blueprint/disk_customizations.go Outdated Show resolved Hide resolved
pkg/blueprint/disk_customizations.go Outdated Show resolved Hide resolved
This commit ensures that the roles of `Validate{,LayoutConstraints}`
are clearer from the code comments.

Follwup, c.f.
osbuild#1041 (comment)
@mvo5 mvo5 force-pushed the validate-layout-constraints-comment branch from 330bb3c to e5dd018 Compare November 25, 2024 16:13
@achilleas-k
Copy link
Member

Skipping the tests and the queue. PR is only docstring changes.

@achilleas-k achilleas-k merged commit 42f6bab into osbuild:main Nov 25, 2024
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants