Skip to content

Commit 45af548

Browse files
committed
bump anyhow to 1.0.103 due to RUSTSEC advisory, linting
1 parent 0b68bfd commit 45af548

4 files changed

Lines changed: 5 additions & 8 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repository = "https://github.com/stackabletech/hive-operator"
1212
[workspace.dependencies]
1313
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.112.0", features = ["crds", "webhook"] }
1414

15-
anyhow = "1.0"
15+
anyhow = "1.0.103"
1616
built = { version = "0.8", features = ["chrono", "git2"] }
1717
clap = "4.6"
1818
const_format = "0.2"

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,6 @@ impl ValidatedCluster {
328328
}
329329

330330
/// The name of the per-role [`Listener`] object.
331-
///
332-
/// Must stay in sync with [`v1alpha1::HiveCluster::role_listener_name`], which derives the
333-
/// same name from the raw cluster (used e.g. by the StatefulSet listener-volume PVC).
334331
pub fn role_listener_name(&self, hive_role: &HiveRole) -> ListenerName {
335332
ListenerName::from_str(&format!(
336333
"{name}-{role}",
@@ -340,7 +337,7 @@ impl ValidatedCluster {
340337
.expect("the role listener name is a valid Listener name")
341338
}
342339

343-
/// Returns an [`ObjectMetaBuilder`] pre-filled with the namespace, an owner reference back to
340+
/// Returns an `ObjectMetaBuilder` pre-filled with the namespace, an owner reference back to
344341
/// this cluster, and the recommended labels for a resource named `name` in `role_group_name`.
345342
///
346343
/// Consolidates the metadata chain repeated by the child-resource builders. Call sites that

rust/operator-binary/src/controller/build/resource/statefulset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pub const LISTENER_VOLUME_DIR: &str = "/stackable/listener";
128128
stackable_operator::constant!(HDFS_DISCOVERY_VOLUME_NAME: VolumeName = "hdfs-discovery");
129129

130130
/// The directory the HDFS discovery ConfigMap volume is mounted at. Also consumed by
131-
/// [`build_container_command_args`](super::super::command::build_container_command_args) when copying the
131+
/// [`build_container_command_args`] when copying the
132132
/// mounted HDFS config into the writeable config directory.
133133
pub(crate) const HDFS_CONFIG_MOUNT_DIR: &str = "/stackable/mount/hdfs-config";
134134

0 commit comments

Comments
 (0)