Skip to content

Commit e8f76ef

Browse files
author
Devdutt Shenoi
committed
fix: update stream API should allow updating custom partition and time limit together
1 parent 1555aa0 commit e8f76ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/handlers/http/modal/utils/logstream_utils.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ async fn update_stream(
145145
if !time_partition_limit.is_empty() {
146146
let time_partition_days = validate_time_partition_limit(time_partition_limit)?;
147147
update_time_partition_limit_in_stream(stream_name.to_string(), time_partition_days).await?;
148-
return Ok(req.headers().clone());
149148
}
150149
validate_and_update_custom_partition(stream_name, custom_partition).await?;
151150

0 commit comments

Comments
 (0)