fix(admin): gate the s3 facade auth re-export to tests (#7078)

This commit is contained in:
Zhengchao An
2026-09-03 02:08:37 +08:00
committed by GitHub
parent e3349f5f30
commit 817adb127c
+3 -1
View File
@@ -1001,7 +1001,9 @@ pub(crate) mod runtime {
}
pub(crate) mod s3 {
pub(crate) use s3s::{Body, S3Error, S3ErrorCode, S3Request, S3Response, S3Result, auth, header};
#[cfg(test)]
pub(crate) use s3s::auth;
pub(crate) use s3s::{Body, S3Error, S3ErrorCode, S3Request, S3Response, S3Result, header};
/// Build an `S3Error` without reaching for the `s3s` error macro.
///