Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-weihe committed Jul 18, 2024
1 parent 351f1f6 commit 4dc978c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/connector/src/sink/iceberg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ impl IcebergConfig {
.secret_key(self.secret_key.clone())
.region(self.region.clone())
.endpoint(self.endpoint.clone())
.path_style_access(self.path_style_access)
.build();
let catalog = storage_catalog::StorageCatalog::new(config)?;
Ok(Arc::new(catalog))
Expand Down
3 changes: 0 additions & 3 deletions src/connector/src/sink/iceberg/storage_catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ pub struct StorageCatalogConfig {
secret_key: String,
endpoint: Option<String>,
region: Option<String>,
path_style_access: bool,
}

/// File system catalog.
Expand All @@ -62,8 +61,6 @@ impl StorageCatalog {
} else {
file_io_builder
};
file_io_builder =
file_io_builder.with_prop("path_style_access", &config.path_style_access.to_string());

Ok(StorageCatalog {
warehouse: config.warehouse.clone(),
Expand Down

0 comments on commit 4dc978c

Please sign in to comment.