Skip to content

Conversation

anmazzotti
Copy link
Contributor

Little change to expose the MAX_SNAPS as environment variable.
This will be exploited by the elemental-register during install.

@anmazzotti anmazzotti marked this pull request as ready for review September 24, 2024 14:25
@anmazzotti anmazzotti requested a review from a team as a code owner September 24, 2024 14:25
@anmazzotti anmazzotti self-assigned this Sep 24, 2024
Signed-off-by: Andrea Mazzotti <[email protected]>
Copy link
Contributor

@davidcassany davidcassany left a comment

Choose a reason for hiding this comment

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

LGTM

Just one thing, I believe we could add a check to test the MAX_SNAPS variable here. This way we make sure the custom unmarshal is tested.

Signed-off-by: Andrea Mazzotti <[email protected]>
@anmazzotti anmazzotti merged commit 98ade87 into rancher:main Sep 25, 2024
28 checks passed
davidcassany pushed a commit to davidcassany/elemental-toolkit that referenced this pull request Oct 1, 2024
* Expose SNAPSHOTTER_MAX_SNAPS run variable

Signed-off-by: Andrea Mazzotti <[email protected]>
(cherry picked from commit 98ade87)
davidcassany pushed a commit that referenced this pull request Oct 2, 2024
* Expose SNAPSHOTTER_MAX_SNAPS run variable

Signed-off-by: Andrea Mazzotti <[email protected]>
(cherry picked from commit 98ade87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants