mirror of
https://github.com/openai/codex.git
synced 2026-05-16 01:02:48 +00:00
codex: rename remote plugin cache fetch helper
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user