@@ -7,14 +7,14 @@ use bittorrent_udp_tracker_core::services::banning::BanService;
77use bittorrent_udp_tracker_core:: { self } ;
88use tokio:: sync:: RwLock ;
99use torrust_tracker_configuration:: { Core , HttpApi , HttpTracker , UdpTracker } ;
10- use torrust_tracker_swarm_coordination_registry:: container:: TorrentRepositoryContainer ;
10+ use torrust_tracker_swarm_coordination_registry:: container:: SwarmCoordinationRegistryContainer ;
1111use torrust_udp_tracker_server:: container:: UdpTrackerServerContainer ;
1212
1313pub struct TrackerHttpApiCoreContainer {
1414 pub http_api_config : Arc < HttpApi > ,
1515
1616 // Torrent repository
17- pub torrent_repository_container : Arc < TorrentRepositoryContainer > ,
17+ pub torrent_repository_container : Arc < SwarmCoordinationRegistryContainer > ,
1818
1919 // Tracker core
2020 pub tracker_core_container : Arc < TrackerCoreContainer > ,
@@ -36,7 +36,7 @@ impl TrackerHttpApiCoreContainer {
3636 udp_tracker_config : & Arc < UdpTracker > ,
3737 http_api_config : & Arc < HttpApi > ,
3838 ) -> Arc < TrackerHttpApiCoreContainer > {
39- let torrent_repository_container = Arc :: new ( TorrentRepositoryContainer :: initialize (
39+ let torrent_repository_container = Arc :: new ( SwarmCoordinationRegistryContainer :: initialize (
4040 core_config. tracker_usage_statistics . into ( ) ,
4141 ) ) ;
4242
@@ -65,7 +65,7 @@ impl TrackerHttpApiCoreContainer {
6565
6666 #[ must_use]
6767 pub fn initialize_from (
68- torrent_repository_container : & Arc < TorrentRepositoryContainer > ,
68+ torrent_repository_container : & Arc < SwarmCoordinationRegistryContainer > ,
6969 tracker_core_container : & Arc < TrackerCoreContainer > ,
7070 http_tracker_core_container : & Arc < HttpTrackerCoreContainer > ,
7171 udp_tracker_core_container : & Arc < UdpTrackerCoreContainer > ,
0 commit comments