Skip to content

Commit 414a3ca

Browse files
committed
bugfix: fix correct fallback for S3_SECRET_KEY_CSVJSONL to fallback on
S3_SECRET_KEY
1 parent d5d3b79 commit 414a3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/operators/file_operator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ pub fn get_csvjsonl_aws_bucket() -> Result<Bucket, ServiceError> {
115115
.unwrap_or(get_env!("S3_ACCESS_KEY", "S3_ACCESS_KEY should be set").to_string());
116116
let s3_secret_key = std::env::var("S3_SECRET_KEY_CSVJSONL").unwrap_or(
117117
get_env!(
118-
"S3_SECRET_KEY_CSVJSONL",
119-
"S3_SECRET_KEY_CSVJSONL should be set"
118+
"S3_SECRET_KEY",
119+
"S3_SECRET_KEY should be set"
120120
)
121121
.to_string(),
122122
);

0 commit comments

Comments
 (0)