diff --git a/grpc/src/client/transport/tonic/mod.rs b/grpc/src/client/transport/tonic/mod.rs index c918be3e3..73ec5dd65 100644 --- a/grpc/src/client/transport/tonic/mod.rs +++ b/grpc/src/client/transport/tonic/mod.rs @@ -457,7 +457,7 @@ impl Transport for TransportBuilder { }; let transport = transport_fut.await?; let credentials = &security_info.credentials; - let handshake_ouput = credentials + let handshake_output = credentials .connect( &security_info.authority, transport, @@ -468,17 +468,17 @@ impl Transport for TransportBuilder { .await?; let local_address = Address { - network_type: handshake_ouput.endpoint.get_network_type(), - address: ByteStr::from(handshake_ouput.endpoint.get_local_address().to_string()), + network_type: handshake_output.endpoint.get_network_type(), + address: ByteStr::from(handshake_output.endpoint.get_local_address().to_string()), attributes: Attributes::new(), }; let remote_address = Address { - network_type: handshake_ouput.endpoint.get_network_type(), - address: ByteStr::from(handshake_ouput.endpoint.get_peer_address().to_string()), + network_type: handshake_output.endpoint.get_network_type(), + address: ByteStr::from(handshake_output.endpoint.get_peer_address().to_string()), attributes: Attributes::new(), }; - let transport = HyperStream::new(handshake_ouput.endpoint); + let transport = HyperStream::new(handshake_output.endpoint); let (sender, connection) = settings .handshake(transport) @@ -494,7 +494,7 @@ impl Transport for TransportBuilder { } })); let authority = &security_info.authority.host_port_string(); - let scheme = handshake_ouput.security_info.scheme(); + let scheme = handshake_output.security_info.scheme(); let uri = Uri::from_maybe_shared(format!("{scheme}://{authority}")) .map_err(|e| format!("failed to create URL {scheme}://{authority}: {e}"))?; let grpc = Grpc::with_origin(TonicService { inner: sender }, uri); @@ -502,7 +502,7 @@ impl Transport for TransportBuilder { let connection_info = ConnectionInfo::new( local_address, remote_address, - handshake_ouput.security_info.clone(), + handshake_output.security_info.clone(), ); let service = TonicTransport {