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

@@ -29,7 +29,7 @@ public class FlociHttpClient {
JsonNode node = getJson("/_floci/health");
return new HealthInfo(
node.path("version").asText("unknown"),
node.path("edition").asText("community"),
node.path("original_edition").asText(node.path("edition").asText("community")),
node.path("services").isArray()
? MAPPER.convertValue(node.path("services"), String[].class)
: new String[0]);
@@ -47,7 +47,7 @@ public class FlociHttpClient {
JsonNode node = getJson("/_floci/info");
return new ServerInfo(
node.path("version").asText("unknown"),
node.path("edition").asText("community"));
node.path("original_edition").asText(node.path("edition").asText("community")));
}
public InitState initState() throws FlociException {