Skip to content

Commit

Permalink
fix rust lint
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Mar 14, 2024
1 parent f0460ba commit 5466d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus/catalog/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl Catalog {
) -> anyhow::Result<String> {
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))
Expand Down

0 comments on commit 5466d06

Please sign in to comment.