Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
68e4d2c1
Unverified
Commit
68e4d2c1
authored
Jun 24, 2025
by
zxyy-bys
Committed by
GitHub
Jun 24, 2025
Browse files
fix: rename create_response_steam to create_response_stream (#1615)
parent
c3a85c06
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
lib/runtime/src/pipeline/network/ingress/push_handler.rs
lib/runtime/src/pipeline/network/ingress/push_handler.rs
+1
-1
lib/runtime/src/pipeline/network/tcp.rs
lib/runtime/src/pipeline/network/tcp.rs
+1
-1
lib/runtime/src/pipeline/network/tcp/client.rs
lib/runtime/src/pipeline/network/tcp/client.rs
+2
-2
No files found.
lib/runtime/src/pipeline/network/ingress/push_handler.rs
View file @
68e4d2c1
...
@@ -62,7 +62,7 @@ where
...
@@ -62,7 +62,7 @@ where
// todo - eventually have a handler class which will returned an abstracted object, but for now,
// todo - eventually have a handler class which will returned an abstracted object, but for now,
// we only support tcp here, so we can just unwrap the connection info
// we only support tcp here, so we can just unwrap the connection info
tracing
::
trace!
(
"creating tcp response stream"
);
tracing
::
trace!
(
"creating tcp response stream"
);
let
mut
publisher
=
tcp
::
client
::
TcpClient
::
create_response_steam
(
let
mut
publisher
=
tcp
::
client
::
TcpClient
::
create_response_st
r
eam
(
request
.context
(),
request
.context
(),
control_msg
.connection_info
,
control_msg
.connection_info
,
)
)
...
...
lib/runtime/src/pipeline/network/tcp.rs
View file @
68e4d2c1
...
@@ -135,7 +135,7 @@ mod tests {
...
@@ -135,7 +135,7 @@ mod tests {
// connect to the server socket
// connect to the server socket
let
mut
send_stream
=
let
mut
send_stream
=
client
::
TcpClient
::
create_response_steam
(
context_rank1
.context
(),
connection_info
)
client
::
TcpClient
::
create_response_st
r
eam
(
context_rank1
.context
(),
connection_info
)
.await
.await
.unwrap
();
.unwrap
();
println!
(
"Client connected"
);
println!
(
"Client connected"
);
...
...
lib/runtime/src/pipeline/network/tcp/client.rs
View file @
68e4d2c1
...
@@ -72,7 +72,7 @@ impl TcpClient {
...
@@ -72,7 +72,7 @@ impl TcpClient {
}
}
}
}
pub
async
fn
create_response_steam
(
pub
async
fn
create_response_st
r
eam
(
context
:
Arc
<
dyn
AsyncEngineContext
>
,
context
:
Arc
<
dyn
AsyncEngineContext
>
,
info
:
ConnectionInfo
,
info
:
ConnectionInfo
,
)
->
Result
<
StreamSender
>
{
)
->
Result
<
StreamSender
>
{
...
@@ -120,7 +120,7 @@ impl TcpClient {
...
@@ -120,7 +120,7 @@ impl TcpClient {
Ok
(
hb
)
=>
hb
,
Ok
(
hb
)
=>
hb
,
Err
(
err
)
=>
{
Err
(
err
)
=>
{
return
Err
(
error!
(
return
Err
(
error!
(
"create_response_steam: Error converting CallHomeHandshake to JSON array: {err:#}"
"create_response_st
r
eam: Error converting CallHomeHandshake to JSON array: {err:#}"
));
));
}
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment