diff --git a/core/src/services/webhdfs/backend.rs b/core/src/services/webhdfs/backend.rs index 64cdf8f1de04..661e52c8b24f 100644 --- a/core/src/services/webhdfs/backend.rs +++ b/core/src/services/webhdfs/backend.rs @@ -171,10 +171,7 @@ impl Builder for WebhdfsBuilder { let atomic_write_dir = self.config.atomic_write_dir; - let auth = self - .config - .delegation - .map(|dt| format!("delegation={dt}")); + let auth = self.config.delegation.map(|dt| format!("delegation={dt}")); let client = HttpClient::new()?;