diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-25 03:08:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-25 03:08:14 +0300 |
commit | 6a8fdd62ab34910131f0c2e071b88f7cb07593f7 (patch) | |
tree | cc1693c8c494711a8b3a08d2aef897667de7cd17 /app/services/ml | |
parent | 65aa9cb3b665f885b5c80b817d84af6076b35f26 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/ml')
-rw-r--r-- | app/services/ml/find_or_create_model_version_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ml/find_or_create_model_version_service.rb b/app/services/ml/find_or_create_model_version_service.rb index 558374ad57b..1316b2546b9 100644 --- a/app/services/ml/find_or_create_model_version_service.rb +++ b/app/services/ml/find_or_create_model_version_service.rb @@ -12,7 +12,7 @@ module Ml def execute model = Ml::FindOrCreateModelService.new(project, name).execute - Ml::ModelVersion.find_or_create(model, version, package) + Ml::ModelVersion.find_or_create!(model, version, package) end private |