Skip to content

Only create a new modelstore if none is given#1612

Merged
rumpl merged 1 commit intodocker:mainfrom
rumpl:modelstore
Feb 5, 2026
Merged

Only create a new modelstore if none is given#1612
rumpl merged 1 commit intodocker:mainfrom
rumpl:modelstore

Conversation

@rumpl
Copy link
Member

@rumpl rumpl commented Feb 5, 2026

No description provided.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl requested a review from a team as a code owner February 5, 2026 13:59
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Review Summary

No issues found. The code change looks good!

The refactoring properly moves the modelsStore initialization to occur after options are applied, allowing options to provide a custom model store. The nil check is appropriate, error handling is correct, and there are no resource leaks or concurrency issues in the changed code.

@rumpl rumpl merged commit 81df97d into docker:main Feb 5, 2026
8 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.

2 participants