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

chore: move model builder to separate file #1525

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Jan 17, 2025

Description

This PR is a mechanical change to move the model builder struct to a separate file so that future work to create a model manager which result in a smaller diff. The code has been copied verbatim. The model builder is an internal type so it has no "direct" tests (tested through model_test.go) and therefore there is no "modelbuilder_test.go".

@kian99 kian99 requested a review from a team as a code owner January 17, 2025 08:33
Copy link
Collaborator

@alesstimec alesstimec left a comment

Choose a reason for hiding this comment

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

LGTM with a few nitpicks

internal/jimm/modelbuilder.go Show resolved Hide resolved
internal/jimm/modelbuilder.go Show resolved Hide resolved
@kian99 kian99 force-pushed the move-model-builder branch from 85b47d9 to 2f73c89 Compare January 17, 2025 08:50
Copy link
Contributor

@ale8k ale8k left a comment

Choose a reason for hiding this comment

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

lgtm

@kian99 kian99 merged commit 3cb6e2d into canonical:v3 Jan 17, 2025
4 checks passed
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.

3 participants