From 5f84818dba5fdae4574b6c0f7b97dab48e13f5f5 Mon Sep 17 00:00:00 2001 From: Ryan Goodfellow Date: Mon, 2 Oct 2023 21:10:19 -0700 Subject: [PATCH] rebase fixup --- dev-tools/omdb/src/bin/omdb/db.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-tools/omdb/src/bin/omdb/db.rs b/dev-tools/omdb/src/bin/omdb/db.rs index 53d83eb2af..ae468a8b81 100644 --- a/dev-tools/omdb/src/bin/omdb/db.rs +++ b/dev-tools/omdb/src/bin/omdb/db.rs @@ -1144,7 +1144,7 @@ async fn cmd_db_eips( let ips: Vec = 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")); @@ -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() @@ -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()