codex: rename remote plugin cache fetch helper

This commit is contained in:
xli-oai
2026-05-12 21:05:44 -07:00
parent 6b54c1ab13
commit f559d3cd95
2 changed files with 3 additions and 7 deletions

View File

@@ -542,11 +542,7 @@ impl PluginRequestProcessor {
}
if !remote_sources.is_empty() {
match plugins_manager
.get_remote_marketplaces_with_caching(
&plugins_input,
auth.as_ref(),
&remote_sources,
)
.fetch_remote_plugin_with_caching(&plugins_input, auth.as_ref(), &remote_sources)
.await
{
Ok(remote_marketplaces) => {

View File

@@ -927,7 +927,7 @@ impl PluginsManager {
notify.notify_waiters();
}
pub async fn get_remote_marketplaces_with_caching(
pub async fn fetch_remote_plugin_with_caching(
&self,
config: &PluginsConfigInput,
auth: Option<&CodexAuth>,
@@ -1711,7 +1711,7 @@ impl PluginsManager {
on_effective_plugins_changed,
);
if let Err(err) = manager
.get_remote_marketplaces_with_caching(
.fetch_remote_plugin_with_caching(
&config,
auth.as_ref(),
&[RemoteMarketplaceSource::Global],