From 5466d067031741f7203b5e3632ba1e610f2891f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Thu, 14 Mar 2024 15:08:09 +0000 Subject: [PATCH] fix rust lint --- nexus/catalog/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/catalog/src/lib.rs b/nexus/catalog/src/lib.rs index 3e7ec3209f..0d8b7ed6a6 100644 --- a/nexus/catalog/src/lib.rs +++ b/nexus/catalog/src/lib.rs @@ -325,7 +325,7 @@ impl Catalog { ) -> anyhow::Result { let peer_dbtype = self.get_peer_type_for_id(peer_id).await?; - return if !table_identifier.contains('.') && peer_dbtype != DbType::Bigquery { + if !table_identifier.contains('.') && peer_dbtype != DbType::Bigquery { Ok(format!("public.{}", table_identifier)) } else { Ok(String::from(table_identifier))