Skip to content

Commit 3a75cd2

Browse files
author
Devdutt Shenoi
committed
fix: stream doesn't exist
1 parent b1611e3 commit 3a75cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/http/logstream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub async fn schema(stream_name: Path<String>) -> Result<impl Responder, StreamE
134134

135135
// Ensure parseable is aware of stream in distributed mode
136136
if PARSEABLE.options.mode == Mode::Query
137-
&& PARSEABLE
137+
&& !PARSEABLE
138138
.create_stream_and_schema_from_storage(&stream_name)
139139
.await?
140140
{

0 commit comments

Comments
 (0)