From f9e42817fafbb28b602b0a5873dbd90459a8a81f Mon Sep 17 00:00:00 2001 From: Dan K Date: Fri, 19 Jul 2019 12:10:29 -0400 Subject: [PATCH] fix(micro-java): add newline char to output str --- .../java/com/redhat/training/openshift/hello/HelloResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java b/micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java index 7b39d65..41084a4 100644 --- a/micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java +++ b/micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java @@ -19,7 +19,7 @@ public class HelloResource { if (message == null) { response = "Hello world from host "+hostname+"\n"; } else { - response = "Hello world from host ["+hostname+"]."; + response = "Hello world from host ["+hostname+"].\n"; response += "Message received = "+message+"\n"; } return response;