Re-use find_(synced|failed)_lfs_objects_registries methods

parent 27374be1
...@@ -33,11 +33,11 @@ module Geo ...@@ -33,11 +33,11 @@ module Geo
end end
def legacy_find_synced_lfs_objects def legacy_find_synced_lfs_objects
legacy_find_lfs_objects(Geo::FileRegistry.lfs_objects.synced.pluck(:file_id)) legacy_find_lfs_objects(find_synced_lfs_objects_registries.pluck(:file_id))
end end
def legacy_find_failed_lfs_objects def legacy_find_failed_lfs_objects
legacy_find_lfs_objects(Geo::FileRegistry.lfs_objects.failed.pluck(:file_id)) legacy_find_lfs_objects(find_failed_lfs_objects_registries.pluck(:file_id))
end end
def legacy_find_lfs_objects(registry_file_ids) def legacy_find_lfs_objects(registry_file_ids)
......
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