Commit 558477d2 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Small codestyle changes for Geo backfill feature

parent e84bb5fb
class Admin::GeoNodesController < Admin::ApplicationController
before_action :check_license
before_action :load_node, except: [:index, :create]
before_action :load_node, only: [:destroy, :repair, :backfill_repositories]
def index
@nodes = GeoNode.all
......
......@@ -7,8 +7,6 @@ class GeoRepositoryBackfillWorker
project = Project.find(project_id)
geo_node = GeoNode.find(geo_node_id)
return unless project && geo_node
Geo::RepositoryBackfillService.new(project, geo_node).execute
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment