Skip to content

Commit 6f43e7e

Browse files
Update rust/crd/src/lib.rs
Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent bc14d43 commit 6f43e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/crd/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ impl ZookeeperCluster {
486486
pub fn server_role_service_fqdn(&self) -> Option<String> {
487487
let cluster_domain = KUBERNETES_CLUSTER_DOMAIN
488488
.get()
489-
.expect("Could not resolve the Kubernetes cluster domain!");
489+
.expect("KUBERNETES_CLUSTER_DOMAIN must first be set by calling initialize_operator");
490490
Some(format!(
491491
"{}.{}.svc.{}",
492492
self.server_role_service_name()?,

0 commit comments

Comments
 (0)