write epoch seconds to pillar
This commit is contained in:
parent
1b26054fdc
commit
fb7e714e63
@ -59,6 +59,8 @@ public class JsonPillarServlet extends HttpServlet {
|
|||||||
} catch (ProcessorException e) {
|
} catch (ProcessorException e) {
|
||||||
// dont care
|
// dont care
|
||||||
}
|
}
|
||||||
|
final long currentTimeSeconds = System.currentTimeMillis() / 1000L;
|
||||||
|
writer.println(" , \"currenttimeseconds\": \"" + currentTimeSeconds + "\"");
|
||||||
writer.println(" , \"pacs\": [");
|
writer.println(" , \"pacs\": [");
|
||||||
final Iterator<?> pacsIterator = pacsResult.iterator();
|
final Iterator<?> pacsIterator = pacsResult.iterator();
|
||||||
boolean firstLoop = true;
|
boolean firstLoop = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user