Skip to content

Commit

Permalink
rebase fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rcgoodfellow committed Oct 3, 2023
1 parent 28d4b25 commit 5f84818
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-tools/omdb/src/bin/omdb/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ async fn cmd_db_eips(
let ips: Vec<ExternalIp> = dsl::external_ip
.filter(dsl::time_deleted.is_null())
.select(ExternalIp::as_select())
.get_results_async(datastore.pool_for_tests().await?)
.get_results_async(&*datastore.pool_connection_for_tests().await?)
.await?;

check_limit(&ips, limit, || String::from("listing external ips"));
Expand Down Expand Up @@ -1212,7 +1212,7 @@ async fn cmd_db_eips(
.filter(instance_dsl::id.eq(owner_id))
.limit(1)
.select(Instance::as_select())
.load_async(datastore.pool_for_tests().await?)
.load_async(&*datastore.pool_connection_for_tests().await?)
.await
.context("loading requested instance")?
.pop()
Expand All @@ -1229,7 +1229,7 @@ async fn cmd_db_eips(
.filter(project_dsl::id.eq(instance.project_id))
.limit(1)
.select(Project::as_select())
.load_async(datastore.pool_for_tests().await?)
.load_async(&*datastore.pool_connection_for_tests().await?)
.await
.context("loading requested project")?
.pop()
Expand Down

0 comments on commit 5f84818

Please sign in to comment.