Skip to content

Commit

Permalink
fixed Rust refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Sep 15, 2023
1 parent 2c40f2a commit 903af3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nexus/flow-rs/src/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ impl FlowGrpcClient {
&mut self,
peer_flow_config: pt::peerdb_flow::FlowConnectionConfigs,
) -> anyhow::Result<String> {
let create_peer_flow_req = pt::peerdb_route::CreatePeerFlowRequest {
let create_peer_flow_req = pt::peerdb_route::CreateCdcFlowRequest {
connection_configs: Some(peer_flow_config),
};
let response = self.client.create_peer_flow(create_peer_flow_req).await?;
let response = self.client.create_cdc_flow(create_peer_flow_req).await?;
let workflow_id = response.into_inner().worflow_id;
Ok(workflow_id)
}
Expand Down

0 comments on commit 903af3e

Please sign in to comment.