Skip to content

Commit e9afa5a

Browse files
NickLarsenNZmaltesanderTechassi
committed
chore: Apply suggestions from code review
Co-authored-by: Malte Sander <[email protected]> Co-authored-by: Techassi <[email protected]>
1 parent c686568 commit e9afa5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/stackable-operator/src/utils/cluster_domain.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub(crate) fn retrieve_cluster_domain() -> Result<DomainName, Error> {
6666
.context(ParseDomainNameSnafu { cluster_domain })?;
6767
tracing::info!(
6868
%cluster_domain,
69-
"Using Kubernetes cluster domain from {KUBERNETES_CLUSTER_DOMAIN_ENV} environment variable"
69+
"Using Kubernetes cluster domain from {KUBERNETES_CLUSTER_DOMAIN_ENV:?} environment variable"
7070
);
7171
return Ok(cluster_domain);
7272
}
@@ -77,7 +77,7 @@ pub(crate) fn retrieve_cluster_domain() -> Result<DomainName, Error> {
7777
// by checking if KUBERNETES_SERVICE_HOST is set: If not default to 'cluster.local'.
7878
tracing::debug!(
7979
"Trying to determine the operator runtime environment as environment variable \
80-
\"{KUBERNETES_CLUSTER_DOMAIN_ENV}\" is not set"
80+
{KUBERNETES_CLUSTER_DOMAIN_ENV:?} is not set"
8181
);
8282

8383
match env::var(KUBERNETES_SERVICE_HOST_ENV) {

0 commit comments

Comments
 (0)