Skip to content

Commit

Permalink
fix keypair auth
Browse files Browse the repository at this point in the history
  • Loading branch information
alpetric committed Nov 1, 2024
1 parent 1a7648e commit e6d5a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/windmill-worker/src/snowflake_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ pub async fn do_snowflake(
tracing::debug!("Generating new oauth token");

let qualified_username = format!(
"{}.{:?}",
database.account_identifier.split('.').next().unwrap_or(""), // get first part of account identifier
database.username
"{}.{}",
database.account_identifier.split('.').next().unwrap_or(""),
database.username.as_deref().unwrap_or("")
)
.to_uppercase();

Expand Down

0 comments on commit e6d5a93

Please sign in to comment.