Skip to content

Commit

Permalink
minor fixes pt.1
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Jan 3, 2024
1 parent ecc91d8 commit e6c03b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions nexus/flow-rs/src/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ impl FlowGrpcClient {
requested_flow_state: state.into(),
source_peer: Some(workflow_details.source_peer),
destination_peer: Some(workflow_details.destination_peer),
flow_state_update: None
};
let response = self.client.flow_state_change(state_change_req).await?;
let state_change_response = response.into_inner();
Expand Down
2 changes: 1 addition & 1 deletion protos/flow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ enum FlowStatus {
message CDCFlowStateUpdate {
}

message QRepFlowStateUpdate {
message QRepFlowStateUpdate {
}

message FlowStateUpdate {
Expand Down
2 changes: 1 addition & 1 deletion protos/route.proto
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ message FlowStateChangeRequest {
peerdb_peers.Peer source_peer = 3;
peerdb_peers.Peer destination_peer = 4;
// only can be sent in certain situations
peerdb_flow.FlowStateUpdate flow_state_update = 5;
optional peerdb_flow.FlowStateUpdate flow_state_update = 5;
}

message FlowStateChangeResponse {
Expand Down

0 comments on commit e6c03b0

Please sign in to comment.