summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/net/libertacasa/pubsh/web/WebApplication.java3
-rw-r--r--src/main/resources/templates/portal.html2
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}"></option>
</select>
<select class="form-control" th:object="${expiry}" name="expiry">
- <option value="">Select expiry ...</option>
+ <option value="">Select duration ...</option>
<option th:value="5" th:attr="value=5" th:text="5"></option>
<option th:value="10" th:attr="value=10" th:text="10"></option>
</select>