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:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-11-27 19:27:36 +0300
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-11-28 13:01:00 +0300
commitbad26e2dab81239f3cb2e7e3ea76ba113415638c (patch)
tree5142b7570febe8ceb2733f0244f27a13e55081df /app/models/project_import_state.rb
parent4bd8a427d4e8127f1badc7365b35702472918956 (diff)
Small code refactoring for condition circuit breaking
Also adds Changelog entry
Diffstat (limited to 'app/models/project_import_state.rb')
-rw-r--r--app/models/project_import_state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_import_state.rb b/app/models/project_import_state.rb
index c80e612053c..488f0cb5971 100644
--- a/app/models/project_import_state.rb
+++ b/app/models/project_import_state.rb
@@ -73,7 +73,7 @@ class ProjectImportState < ActiveRecord::Base
alias_method :no_import?, :none?
def in_progress?
- started? || scheduled?
+ scheduled? || started?
end
def started?