diff --git a/codex-rs/core-plugins/src/manager.rs b/codex-rs/core-plugins/src/manager.rs index 2317289ad8..e08a78302c 100644 --- a/codex-rs/core-plugins/src/manager.rs +++ b/codex-rs/core-plugins/src/manager.rs @@ -844,7 +844,7 @@ impl PluginsManager { }); } - fn cached_remote_marketplaces( + fn prune_and_get_cached_remote_marketplaces( &self, cache_key: &RemoteMarketplacesCacheKey, ) -> Option> { @@ -935,7 +935,7 @@ impl PluginsManager { ) -> Result, RemotePluginCatalogError> { let cache_key = remote_marketplaces_cache_key(config, auth, sources); loop { - if let Some(marketplaces) = self.cached_remote_marketplaces(&cache_key) { + if let Some(marketplaces) = self.prune_and_get_cached_remote_marketplaces(&cache_key) { return Ok(marketplaces); }