refactor(#2569): rename hive-agent-sock to hive-core-agent-sock
This commit is contained in:
parent
84b750fba5
commit
795dd882bb
26 changed files with 184 additions and 161 deletions
|
|
@ -302,11 +302,11 @@ enum BrokerError {
|
|||
/// web-UI handler that talks to the broker goes through it.
|
||||
async fn broker_request(
|
||||
socket: &Path,
|
||||
req: &hive_agent_sock::Request,
|
||||
) -> std::result::Result<hive_agent_sock::Response, BrokerError> {
|
||||
req: &hive_core_agent_sock::Request,
|
||||
) -> std::result::Result<hive_core_agent_sock::Response, BrokerError> {
|
||||
match tokio::time::timeout(
|
||||
SOCKET_FETCH_TIMEOUT,
|
||||
crate::client::request::<_, hive_agent_sock::Response>(socket, req),
|
||||
crate::client::request::<_, hive_core_agent_sock::Response>(socket, req),
|
||||
)
|
||||
.await
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue