From f9e42817fafbb28b602b0a5873dbd90459a8a81f Mon Sep 17 00:00:00 2001 From: Dan K <dk14142@gmail.com> Date: Fri, 19 Jul 2019 18:10:29 +0200 Subject: [PATCH] fix(micro-java): add newline char to output str --- micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 @@ 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; -- Gitblit v1.9.3