Fix arguments alignment for Geo:RepositoryRenamedEventStore

parent 155af580
......@@ -38,8 +38,11 @@ module EE
all_projects.each do |project|
old_path_with_namespace = File.join(full_path_was, project.path)
::Geo::RepositoryRenamedEventStore.new(project,
old_path: project.path, old_path_with_namespace: old_path_with_namespace).create
::Geo::RepositoryRenamedEventStore.new(
project,
old_path: project.path,
old_path_with_namespace: old_path_with_namespace
).create
end
end
......
......@@ -433,8 +433,11 @@ module EE
path_was = previous_changes['path'].first
old_path_with_namespace = File.join(namespace.full_path, path_was)
::Geo::RepositoryRenamedEventStore.new(self,
old_path: path_was, old_path_with_namespace: old_path_with_namespace).create
::Geo::RepositoryRenamedEventStore.new(
self,
old_path: path_was,
old_path_with_namespace: old_path_with_namespace
).create
end
private
......
......@@ -8,8 +8,11 @@ module EE
super
::Geo::RepositoryRenamedEventStore.new(project,
old_path: project.path, old_path_with_namespace: @old_path).create
::Geo::RepositoryRenamedEventStore.new(
project,
old_path: project.path,
old_path_with_namespace: @old_path
).create
end
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