Skip to content

Commit

Permalink
Merge pull request #4221 from systeminit/victor/bug-463-issue-with-mo…
Browse files Browse the repository at this point in the history
…dule-sync-not-understanding-past-hashes

Compare upgradeable modules to builtins list
  • Loading branch information
vbustamante authored Jul 24, 2024
2 parents bbe6071 + 981bed3 commit daa29cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/module-index-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ impl ModuleIndexClient {
.await?)
}

// Will skip builtins
pub async fn list_module_details(&self) -> ModuleIndexClientResult<ListModulesResponse> {
let url = self.base_url.join("modules")?;

Expand Down
2 changes: 1 addition & 1 deletion lib/sdf-server/src/server/service/v2/module/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub async fn sync(
ModuleIndexClient::new(module_index_url.try_into()?, &raw_access_token);
(
module_index_client.list_latest_modules().await?,
module_index_client.list_module_details().await?,
module_index_client.list_builtins().await?,
)
};

Expand Down

0 comments on commit daa29cb

Please sign in to comment.