fix: updating with latest floci changes

This commit is contained in:
Hector Ventura committed 2026-05-15 02:34:27 -05:00
1 parent 0452664457
commit 1d7f9f81d0
16 files changed
+378 -116

No files matched your search

@@ -32,7 +32,10 @@ public class VersionCommand implements Callable<Integer> {
String serverEdition = null;
String imageDigest = null;
FlociHttpClient client = new FlociHttpClient(global.endpoint);
var docker = new io.floci.cli.docker.DockerClient();
String effectiveEndpoint = global.resolvedEndpoint(docker);
FlociHttpClient client = new FlociHttpClient(effectiveEndpoint);
try {
var info = client.info();
serverVersion = info.version();
@@ -41,7 +44,6 @@ public class VersionCommand implements Callable<Integer> {
// Try to read image digest from Docker (best-effort)
try {
var docker = new io.floci.cli.docker.DockerClient();
imageDigest = docker.imageDigest("floci/floci").orElse(null);
} catch (Exception ignored) {}