Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Mar 30, 2024
1 parent 1d4a1aa commit 3af709b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ async fn build_s3(url: &Url, sdk_config: &SdkConfig) -> Result<AmazonS3> {

async fn build_gcs(gcs_url: &Url) -> Result<GoogleCloudStorage> {
let google_application_credentials = env::var("GOOGLE_APPLICATION_CREDENTIALS")
.map_err(|_| DataFusionError::Execution(format!("Could not find GOOGLE_APPLICATION_CREDENTIALS environment variable")))?;
.map_err(|_| DataFusionError::Execution("Could not find GOOGLE_APPLICATION_CREDENTIALS environment variable"))?;

Check failure on line 409 in src/main.rs

View workflow job for this annotation

GitHub Actions / cargo clippy

mismatched types

let bucket_name = gcs_url.host_str().unwrap();

Expand Down

0 comments on commit 3af709b

Please sign in to comment.