File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,12 +200,12 @@ pub fn start(
200
200
}
201
201
}
202
202
DispatcherEvent :: PipelineFinished ( pipeline_id, finish_state) => {
203
- let mut stream_id : Option < uuid:: Uuid > = None ;
203
+ let mut stream_uuid : Option < uuid:: Uuid > = None ;
204
204
{ // context to release the write lock
205
205
let mut table_write_guard = streams_table. write ( ) . await ;
206
206
let stream_entry_option = table_write_guard. find_by_pipeline_id_mut ( pipeline_id) ;
207
207
if let Some ( entry) = stream_entry_option {
208
- stream_id = Some ( entry. get_id ( ) ) ;
208
+ stream_uuid = Some ( entry. get_id ( ) ) ;
209
209
// Remove the pipeline from the stream entry since it finished
210
210
entry. unassign_pipeline ( ) ;
211
211
@@ -253,7 +253,7 @@ pub fn start(
253
253
let ext_event: serde_json:: Value = serde_json:: json!( {
254
254
"type" : "StreamFinished" ,
255
255
"end_state" : finish_state. to_string( ) ,
256
- "stream_id " : stream_id . unwrap_or_default( ) ,
256
+ "stream_uuid " : stream_uuid . unwrap_or_default( ) ,
257
257
} ) ;
258
258
let ext_event_json_str = serde_json:: to_string ( & ext_event) ;
259
259
if let Ok ( json_str) = ext_event_json_str {
You can’t perform that action at this time.
0 commit comments