Skip to content

Commit 0493bbd

Browse files
committed
Use patched op-rs
1 parent 3c90007 commit 0493bbd

File tree

5 files changed

+13
-22
lines changed

5 files changed

+13
-22
lines changed

Cargo.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 6 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ strum = { version = "0.26", features = ["derive"] }
3030
tokio = { version = "1.40", features = ["full"] }
3131
tracing = "0.1"
3232

33-
# [patch."https://github.com/stackabletech/operator-rs.git"]
34-
# stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "main" }
33+
[patch."https://github.com/stackabletech/operator-rs.git"]
34+
stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "fix/clashing-volumes-and-mounts-2" }
3535
# stackable-operator = { path = "../operator-rs/crates/stackable-operator" }

crate-hashes.json

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/operator-binary/src/catalog/commons.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,11 @@ impl ExtendCatalogConfig for S3ConnectionInlineOrReference {
9696
(s3.access_style == S3AccessStyle::Path).to_string(),
9797
);
9898

99-
let (volumes, mounts) = s3
100-
.volumes_and_mounts(catalog_name)
101-
.context(ConfigureS3Snafu)?;
99+
let (volumes, mounts) = s3.volumes_and_mounts().context(ConfigureS3Snafu)?;
102100
catalog_config.volumes.extend(volumes);
103101
catalog_config.volume_mounts.extend(mounts);
104102

105-
if let Some((access_key, secret_key)) = s3.credentials_mount_paths(catalog_name) {
103+
if let Some((access_key, secret_key)) = s3.credentials_mount_paths() {
106104
catalog_config.add_env_property_from_file("hive.s3.aws-access-key", access_key);
107105
catalog_config.add_env_property_from_file("hive.s3.aws-secret-key", secret_key);
108106
}

0 commit comments

Comments
 (0)