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

project_start_import.rb « concerns « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4462bc51a24925e8b35c2d2b298a5fec1153cc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

# Used in EE by mirroring
module ProjectStartImport
  def start(import_state)
    if import_state.started? && import_state.jid == self.jid
      return true
    end

    import_state.start
  end
end