fix(ecstore): silence two dead_code warnings left on main (#6153)

This commit is contained in:
Zhengchao An
2026-08-16 22:42:45 +08:00
committed by GitHub
parent 1862112d0c
commit 3272730c13
3 changed files with 6 additions and 3 deletions
@@ -4379,6 +4379,10 @@ pub async fn expire_transitioned_object(
Ok(dobj)
}
#[allow(
dead_code,
reason = "MinIO-parity tier/lifecycle entry point that this port never wired (backlog#1823)"
)]
pub fn gen_transition_objname(bucket: &str) -> Result<String, Error> {
let us = Uuid::new_v4().to_string();
let mut hasher = Sha256::new();