Skip to content

Commit 264ccf3

Browse files
replaced to get_stream
1 parent c66fb74 commit 264ccf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/http/modal/ingest/ingestor_logstream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub async fn delete(stream_name: Path<String>) -> Result<impl Responder, StreamE
7272
}
7373

7474
// Delete from staging
75-
let stream_dir = PARSEABLE.get_or_create_stream(&stream_name);
75+
let stream_dir = PARSEABLE.get_stream(&stream_name)?;
7676
if fs::remove_dir_all(&stream_dir.data_path).is_err() {
7777
warn!(
7878
"failed to delete local data for stream {}. Clean {} manually",

0 commit comments

Comments
 (0)