Commit 74ea9f05 authored by Mikhail Karnevskiy's avatar Mikhail Karnevskiy
Browse files

Fix check of metastream in numeric scheme

parent 9822558d
Pipeline #4519 passed with stage
in 48 seconds
......@@ -77,7 +77,7 @@ def get_new_stream(stream, receiver_stream_list, metadata_stream_list,
max_stream_number = max_stream(receiver_stream_list)
try:
if (int(stream) < max_stream_number
and str(max_stream_number) in metadata_stream_list):
and str(int(stream) + 1) in metadata_stream_list):
return str(int(stream) + 1)
except ValueError:
log.warning(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment