Skip to content

Commit ece60dd

Browse files
committed
fix: remove unused namespace in ValidatedCluster
1 parent 46bfa1d commit ece60dd

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ pub struct ValidatedCluster {
9999
/// [`Resource`] and be passed directly to the metadata/owner-reference builders.
100100
metadata: ObjectMeta,
101101
pub name: ClusterName,
102-
// Read from the mirrored `metadata` in the configmap path (via `name_and_namespace`); the typed
103-
// field is consumed directly when the service/statefulset builders move onto `ValidatedCluster`.
104-
#[allow(dead_code)]
105-
pub namespace: NamespaceName,
106102
pub uid: Uid,
107103
pub image: ResolvedProductImage,
108104
pub cluster_config: ValidatedClusterConfig,
@@ -133,7 +129,6 @@ impl ValidatedCluster {
133129
Self {
134130
metadata,
135131
name,
136-
namespace,
137132
uid,
138133
image,
139134
cluster_config,

0 commit comments

Comments
 (0)