Skip to content

Commit 411284e

Browse files
committed
JSON was unable to output both title and description
1 parent 1db3775 commit 411284e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

query-engine/docs/query-engine-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ services:
5050
- 16686:16686
5151

5252
query-engine:
53-
image: ghcr.io/yaytay/query-engine-design-mode:0.0.75-2-main
53+
image: ghcr.io/yaytay/query-engine-design-mode:0.0.76-main
5454
ports:
5555
- 2000:8080
5656
volumes:

query-engine/src/main/java/uk/co/spudsoft/query/exec/fmts/json/FormatJsonInstance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private Future<Void> start() {
226226
}
227227
String insertDesc = "";
228228
if (!Strings.isNullOrEmpty(description)) {
229-
insertTitle = "\"description\":\"" + description.trim() + "\",";
229+
insertDesc = "\"description\":\"" + description.trim() + "\",";
230230
}
231231
start = "{\"" + defn.getMetadataName() + "\":{" + insertTitle + insertDesc + "\"fields\":" + toJson(metaRow).toString() + "},\"" + defn.getDataName() + "\":" + OPEN_ARRAY;
232232
}

query-engine/src/main/java/uk/co/spudsoft/query/main/Version.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public final class Version {
3434
/**
3535
* The project version, as set in the Maven pom.xml.
3636
*/
37-
public static final String MAVEN_PROJECT_VERSION = "0.0.75-2-main";
37+
public static final String MAVEN_PROJECT_VERSION = "0.0.76-main";
3838

3939
private Version() {
4040
}

0 commit comments

Comments
 (0)