We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a358c commit e11f1dbCopy full SHA for e11f1db
server/src/storage/s3.rs
@@ -38,6 +38,7 @@ use std::path::Path as StdPath;
38
use std::sync::Arc;
39
use std::time::{Duration, Instant};
40
41
+use crate::handlers::http::users::USERS_ROOT_DIR;
42
use crate::metrics::storage::{s3::REQUEST_RESPONSE_TIME, StorageMetrics};
43
use crate::storage::{LogStream, ObjectStorage, ObjectStorageError, PARSEABLE_ROOT_DIRECTORY};
44
@@ -305,6 +306,7 @@ impl S3 {
305
306
.filter_map(|path| path.parts().next())
307
.map(|name| name.as_ref().to_string())
308
.filter(|x| x != PARSEABLE_ROOT_DIRECTORY)
309
+ .filter(|x| x != USERS_ROOT_DIR)
310
.collect();
311
312
let stream_json_check = FuturesUnordered::new();
0 commit comments