Skip to content

Commit 383fb77

Browse files
maltesanderclaude
andcommitted
style: rustfmt principal_host_part call in kerberos.rs
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ed57da5 commit 383fb77

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

rust/operator-binary/src/security/kerberos.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ impl CoreSiteConfigBuilder {
7878
cluster_info: &KubernetesClusterInfo,
7979
) -> Result<&mut Self> {
8080
if kerberos.authentication_enabled {
81-
let principal_host_part =
82-
principal_host_part(kerberos.cluster_name, kerberos.cluster_namespace, cluster_info)?;
81+
let principal_host_part = principal_host_part(
82+
kerberos.cluster_name,
83+
kerberos.cluster_namespace,
84+
cluster_info,
85+
)?;
8386

8487
self.add("hadoop.security.authentication", "kerberos")
8588
// Not adding hadoop.registry.kerberos.realm, as it seems to not be used by our customers
@@ -148,8 +151,11 @@ impl CoreSiteConfigBuilder {
148151
cluster_info: &KubernetesClusterInfo,
149152
) -> Result<&mut Self> {
150153
if kerberos.kerberos_enabled {
151-
let principal_host_part =
152-
principal_host_part(kerberos.cluster_name, kerberos.cluster_namespace, cluster_info)?;
154+
let principal_host_part = principal_host_part(
155+
kerberos.cluster_name,
156+
kerberos.cluster_namespace,
157+
cluster_info,
158+
)?;
153159

154160
self.add("hadoop.security.authentication", "kerberos")
155161
.add(

0 commit comments

Comments
 (0)