Skip to content

Commit 2641bba

Browse files
committed
store: Asyncify deployment::ManifestInfo.load
1 parent f2e3d9c commit 2641bba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

store/postgres/src/deployment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ pub struct ManifestInfo {
348348
}
349349

350350
impl ManifestInfo {
351-
pub fn load(conn: &mut PgConnection, site: &Site) -> Result<ManifestInfo, StoreError> {
351+
pub async fn load(conn: &mut PgConnection, site: &Site) -> Result<ManifestInfo, StoreError> {
352352
use subgraph_manifest as sm;
353353
let (description, repository, spec_version, features): (
354354
Option<String>,

store/postgres/src/deployment_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ impl DeploymentStore {
482482
}
483483

484484
let layout = self.layout(conn, site.cheap_clone()).await?;
485-
let manifest_info = deployment::ManifestInfo::load(conn, &site)?;
485+
let manifest_info = deployment::ManifestInfo::load(conn, &site).await?;
486486

487487
let graft_block = deployment::graft_point(conn, &site.deployment)
488488
.await?

0 commit comments

Comments
 (0)