From 1a4e969557a31c97a66c3769fa242513dc66d1be Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Wed, 11 May 2022 11:06:38 +0200 Subject: Minor touchup Signed-off-by: Georg Pfuetzenreuter --- src/main/java/net/libertacasa/pubsh/web/WebApplication.java | 3 +-- src/main/resources/templates/portal.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java index 5407256..a22c390 100644 --- a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java +++ b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java @@ -36,7 +36,6 @@ import com.github.kagkarlsson.scheduler.Scheduler; @Controller public class WebApplication { - //private final CounterService counter; private static Scheduler scheduler; @Autowired @@ -246,7 +245,7 @@ public class WebApplication { Random rand = new Random(); Integer randomInt = rand.nextInt(9999999-1111); Integer count = randomInt; - + try { String containerid = Docker.createShell(username, os, count); String instanceid = username + "&" + containerid; diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html index 524f878..f228ec8 100644 --- a/src/main/resources/templates/portal.html +++ b/src/main/resources/templates/portal.html @@ -19,7 +19,7 @@ th:text="${osoption}"> -- cgit v1.2.3