summaryrefslogtreecommitdiff
path: root/src/cli/status.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/status.rs
parent266d6f6d876ab3eb020b88ef6caee0f91776db37 (diff)
fix: cache saved machine connection metadata (#4256)
refs #4252
Diffstat (limited to 'src/cli/status.rs')
-rw-r--r--src/cli/status.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/status.rs b/src/cli/status.rs
index d9c0be79..d13be784 100644
--- a/src/cli/status.rs
+++ b/src/cli/status.rs
@@ -174,7 +174,7 @@ fn print_server_status_body(server: &ServerRuntimeStatus, indent: &str) {
}
fn read_server_runtime_status() -> std::io::Result<ServerRuntimeStatus> {
- match super::target::api_client()?.status() {
+ match super::target::server_status(&super::target::api_client()?) {
Ok(status) => Ok(ServerRuntimeStatus::Running {
version: status.version,
protocol: status.protocol,