debug: log S3 operator server and access_key
All checks were successful
BotServer CI/CD / build (push) Successful in 5m24s
All checks were successful
BotServer CI/CD / build (push) Successful in 5m24s
This commit is contained in:
parent
b5be26591e
commit
f58d000ac8
1 changed files with 1 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ pub fn get_stack_path() -> String {
|
||||||
pub async fn create_s3_operator(
|
pub async fn create_s3_operator(
|
||||||
config: &DriveConfig,
|
config: &DriveConfig,
|
||||||
) -> Result<S3Client, Box<dyn std::error::Error>> {
|
) -> Result<S3Client, Box<dyn std::error::Error>> {
|
||||||
|
log::info!("Creating S3 operator with server: {}, access_key: {}", config.server, config.access_key);
|
||||||
let endpoint = if config.server.ends_with('/') {
|
let endpoint = if config.server.ends_with('/') {
|
||||||
config.server.clone()
|
config.server.clone()
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue