aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-16 23:55:12 +0300
committerGitHub <noreply@github.com>2026-09-16 23:55:12 +0300
commit5f3763dda88e0fefbce14afab7cc2c7232a5e2a8 (patch)
tree7d77a7e1122dcbd230791d9666aca43c12d3b332 /src/cli.rs
parent266d6f6d876ab3eb020b88ef6caee0f91776db37 (diff)
fix: cache saved machine connection metadata (#4256)
refs #4252
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 154e0c99..fead33b6 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -782,8 +782,7 @@ pub(super) fn send_request_unchecked(request: &Request) -> std::io::Result<serde
}
fn ensure_server_protocol_compatible(client: &ApiClient, request_id: &str) -> std::io::Result<()> {
- let status = client
- .status()
+ let status = target::server_status(client)
.map_err(|err| map_server_not_running_or_io(err, request_id, client))?;
let server_protocol = status
.protocol