Skip to content

Commit

Permalink
chore: Correct snake case of getHdfsDelegator
Browse files Browse the repository at this point in the history
  • Loading branch information
zuston committed Jan 11, 2025
1 parent 7f651ae commit 2614e39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/store/hadoop/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub(crate) trait HdfsDelegator: Send + Sync {
}

#[cfg(feature = "hdfs")]
pub fn getHdfsDelegator(
pub fn get_hdfs_delegator(
root: &str,
configs: HashMap<String, String>,
) -> Result<Box<dyn HdfsDelegator>> {
Expand Down
4 changes: 2 additions & 2 deletions src/store/hdfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ use crate::error::WorkerError::Other;
use crate::kerberos::KerberosTask;
use crate::runtime::manager::RuntimeManager;
use crate::semaphore_with_index::SemaphoreWithIndex;
use crate::store::hadoop::{getHdfsDelegator, HdfsDelegator};
use crate::store::hadoop::{get_hdfs_delegator, HdfsDelegator};
use tracing::{debug, Instrument};

struct WritingHandler {
Expand Down Expand Up @@ -432,7 +432,7 @@ impl Store for HdfsStore {
}

let remote_storage_conf = remote_storage_conf_option.unwrap();
let client = getHdfsDelegator(
let client = get_hdfs_delegator(
remote_storage_conf.root.as_str(),
remote_storage_conf.configs,
)?;
Expand Down

0 comments on commit 2614e39

Please sign in to comment.