mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-22 21:50:47 -05:00
fix: updating with latest floci changes
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user