Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/container_repository.rb')
-rw-r--r--app/models/container_repository.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/container_repository.rb b/app/models/container_repository.rb
index 0f0abeae795..6a52f6a0112 100644
--- a/app/models/container_repository.rb
+++ b/app/models/container_repository.rb
@@ -403,7 +403,7 @@ class ContainerRepository < ApplicationRecord
end
def migrated?
- Gitlab.com?
+ Gitlab.com_except_jh?
end
def last_import_step_done_at
@@ -526,7 +526,7 @@ class ContainerRepository < ApplicationRecord
def size
strong_memoize(:size) do
- next unless Gitlab.com?
+ next unless Gitlab.com_except_jh?
next if self.created_at.before?(MIGRATION_PHASE_1_STARTED_AT) && self.migration_state != 'import_done'
next unless gitlab_api_client.supports_gitlab_api?