diff --git a/serving/samples/helloworld-clojure/README.md b/serving/samples/helloworld-clojure/README.md index 9c96f44ad72..f5f397720d8 100644 --- a/serving/samples/helloworld-clojure/README.md +++ b/serving/samples/helloworld-clojure/README.md @@ -1,8 +1,8 @@ # Hello World - Clojure sample A simple web app written in Clojure that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites @@ -29,10 +29,10 @@ following instructions recreate the source files from this folder. (defn handler [request] {:status 200 :headers {"Content-Type" "text/html"} - :body (str "Hello World: " + :body (str "Hello " (if-let [target (System/getenv "TARGET")] target - "NOT SPECIFIED") + "World") "!\n")}) (defn -main [& args] diff --git a/serving/samples/helloworld-clojure/src/helloworld/core.clj b/serving/samples/helloworld-clojure/src/helloworld/core.clj index da005104063..23cac49860b 100644 --- a/serving/samples/helloworld-clojure/src/helloworld/core.clj +++ b/serving/samples/helloworld-clojure/src/helloworld/core.clj @@ -5,10 +5,10 @@ (defn handler [request] {:status 200 :headers {"Content-Type" "text/html"} - :body (str "Hello World: " + :body (str "Hello " (if-let [target (System/getenv "TARGET")] target - "NOT SPECIFIED") + "World") "!\n")}) (defn -main [& args] diff --git a/serving/samples/helloworld-csharp/README.md b/serving/samples/helloworld-csharp/README.md index 4dbdc96a0f4..5e0f29dfe12 100644 --- a/serving/samples/helloworld-csharp/README.md +++ b/serving/samples/helloworld-csharp/README.md @@ -1,8 +1,8 @@ # Hello World - .NET Core sample A simple web app written in C# using .NET Core 2.1 that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-go/README.md b/serving/samples/helloworld-go/README.md index 3ce16f29c98..cce809681ce 100644 --- a/serving/samples/helloworld-go/README.md +++ b/serving/samples/helloworld-go/README.md @@ -1,8 +1,8 @@ # Hello World - Go sample A simple web app written in Go that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-haskell/README.md b/serving/samples/helloworld-haskell/README.md index 02299acac01..e5a5d9b6d15 100644 --- a/serving/samples/helloworld-haskell/README.md +++ b/serving/samples/helloworld-haskell/README.md @@ -1,8 +1,8 @@ # Hello World - Haskell sample A simple web app written in Haskell that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-java/README.md b/serving/samples/helloworld-java/README.md index 38c62c55a85..9946fc20a0e 100644 --- a/serving/samples/helloworld-java/README.md +++ b/serving/samples/helloworld-java/README.md @@ -1,8 +1,8 @@ # Hello World - Spring Boot Java sample A simple web app written in Java using Spring Boot 2.0 that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-nodejs/README.md b/serving/samples/helloworld-nodejs/README.md index e981f0c5686..171609c8862 100644 --- a/serving/samples/helloworld-nodejs/README.md +++ b/serving/samples/helloworld-nodejs/README.md @@ -1,8 +1,8 @@ # Hello World - Node.js sample A simple web app written in Node.js that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-php/README.md b/serving/samples/helloworld-php/README.md index b9303062f0c..ca22478b8fc 100644 --- a/serving/samples/helloworld-php/README.md +++ b/serving/samples/helloworld-php/README.md @@ -1,8 +1,8 @@ # Hello World - PHP sample A simple web app written in PHP that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-python/README.md b/serving/samples/helloworld-python/README.md index b95b80f3b77..98a164a08da 100644 --- a/serving/samples/helloworld-python/README.md +++ b/serving/samples/helloworld-python/README.md @@ -1,8 +1,8 @@ # Hello World - Python sample A simple web app written in Python that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-ruby/README.md b/serving/samples/helloworld-ruby/README.md index c79601fa052..bd65982d834 100644 --- a/serving/samples/helloworld-ruby/README.md +++ b/serving/samples/helloworld-ruby/README.md @@ -1,8 +1,8 @@ # Hello World - Ruby sample A simple wenb app written in Ruby that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites diff --git a/serving/samples/helloworld-rust/README.md b/serving/samples/helloworld-rust/README.md index bab1acce52d..aad4ac2201c 100644 --- a/serving/samples/helloworld-rust/README.md +++ b/serving/samples/helloworld-rust/README.md @@ -1,8 +1,8 @@ # Hello World - Rust sample A simple web app written in Rust that you can use for testing. -It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If -TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET. +It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If +TARGET is not specified, it will use "World" as the TARGET. ## Prerequisites