Skip to content

Commit 09377a5

Browse files
committed
drop dead code: namespace
1 parent 016c2c3 commit 09377a5

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • rust/operator-binary/src/controller

rust/operator-binary/src/controller/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ pub struct ValidatedCluster {
3434
metadata: ObjectMeta,
3535
/// The logical (and Kubernetes object) name of the cluster.
3636
pub name: ClusterName,
37-
/// The namespace the cluster lives in. Part of the cluster identity; currently consumed via
38-
/// the [`Resource`] metadata (`name_and_namespace`) rather than read directly.
39-
#[allow(dead_code)]
40-
pub namespace: NamespaceName,
4137
/// The UID of the `HbaseCluster` object, used to build owner references.
4238
pub uid: Uid,
4339
pub image: ResolvedProductImage,
@@ -65,7 +61,6 @@ impl ValidatedCluster {
6561
..ObjectMeta::default()
6662
},
6763
name,
68-
namespace,
6964
uid,
7065
image,
7166
cluster_config,

0 commit comments

Comments
 (0)