diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-21 20:19:54 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-21 20:22:57 +0300 |
| commit | 866aaf740e10fcfce169aaf81380ea0257fbe272 (patch) | |
| tree | f815392b7c6b24a7c0de14e655bd635656383813 /src/server/autodetect.rs | |
| parent | ca579c402d5668560ca13059f82c03178be18b2a (diff) | |
refactor: separate server client boundaries
Diffstat (limited to 'src/server/autodetect.rs')
| -rw-r--r-- | src/server/autodetect.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/autodetect.rs b/src/server/autodetect.rs index fd48de9b..976d2583 100644 --- a/src/server/autodetect.rs +++ b/src/server/autodetect.rs @@ -18,7 +18,7 @@ use std::time::Duration; use tracing::{info, warn}; -use super::headless::client_socket_path; +use super::socket_paths::client_socket_path; /// Maximum time to wait for the server's client socket to become ready /// after spawning the server process. @@ -91,7 +91,7 @@ fn validate_running_server_compatibility() -> io::Result<()> { )); }; - if status.protocol == Some(crate::server::protocol::PROTOCOL_VERSION) { + if status.protocol == Some(crate::protocol::PROTOCOL_VERSION) { return Ok(()); } @@ -103,7 +103,7 @@ fn validate_running_server_compatibility() -> io::Result<()> { .map(|value| value.to_string()) .unwrap_or_else(|| "unknown".to_string()), env!("CARGO_PKG_VERSION"), - crate::server::protocol::PROTOCOL_VERSION + crate::protocol::PROTOCOL_VERSION ))) } |
