From acd003fbbd45b17f17fe9572c71e9e7d674f954c Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Wed, 20 Apr 2022 14:15:06 -0600 Subject: [PATCH] add version to server --- src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java b/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java index acf6f397b..4896b9c81 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java @@ -207,8 +207,7 @@ public class ServletUtil { Server(int threads, Stopwatch timer) { this.threads = threads; this.timer = timer.toString(); - this.version = "TODO where to get version?"; + this.version = new HazVersion().getVersionInfo().version; } } - } -- GitLab