From 66724f2c6bc3f12a67aa9d55d93c50a56163e803 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Mon, 29 Jul 2019 15:46:53 +0200 Subject: [PATCH] fix json error --- hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java index 92c2cec..4f88ff4 100644 --- a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java +++ b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java @@ -121,6 +121,7 @@ public class JsonPillarServlet extends HttpServlet { writer.println(" \"domain\": \"" + domName + "\""); writer.println(" }"); } + writer.println(" ]"); writer.println(" , \"zones\": ["); firstLoop = true; for (final String zone : dnsZones) {