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 3db3118..7b39d65 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 @@ -16,12 +16,12 @@ public class HelloResource { String message = System.getenv().getOrDefault("APP_MSG", null); String response = ""; - if (message == null) + if (message == null) { response = "Hello world from host "+hostname+"\n"; - else + } else { response = "Hello world from host ["+hostname+"]."; response += "Message received = "+message+"\n"; - + } return response; } }