summaryrefslogtreecommitdiff
path: root/lib/gitlab/checks/lfs_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/checks/lfs_check.rb')
-rw-r--r--lib/gitlab/checks/lfs_check.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/checks/lfs_check.rb b/lib/gitlab/checks/lfs_check.rb
index b70a6a69b93..38f0b82c8b4 100644
--- a/lib/gitlab/checks/lfs_check.rb
+++ b/lib/gitlab/checks/lfs_check.rb
@@ -13,6 +13,7 @@ module Gitlab
return unless project.lfs_enabled?
return if skip_lfs_integrity_check
+ return if deletion?
logger.log_timed(LOG_MESSAGE) do
lfs_check = Checks::LfsIntegrity.new(project, newrev, logger.time_left)