From 3ecd653bafd96a9283a346ee4577293b599d94d9 Mon Sep 17 00:00:00 2001 From: Deepankar Dixit Date: Thu, 5 May 2022 10:55:24 -0400 Subject: [PATCH] updating readme --- .../function-sample-gcp-background/README.adoc | 4 ++-- .../function-sample-gcp-http/README.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-cloud-function-samples/function-sample-gcp-background/README.adoc b/spring-cloud-function-samples/function-sample-gcp-background/README.adoc index c55540acb..c561972a1 100644 --- a/spring-cloud-function-samples/function-sample-gcp-background/README.adoc +++ b/spring-cloud-function-samples/function-sample-gcp-background/README.adoc @@ -57,7 +57,7 @@ You should see the JAR to deploy in the `target/deploy` directory. ---- gcloud functions deploy function-sample-gcp-background \ --entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \ ---runtime java11 \ +--runtime java17 \ --trigger-topic my-functions-topic \ --source target/deploy \ --memory 512MB @@ -101,4 +101,4 @@ public Consumer pubSubFunction() { System.out.println("Received Pub/Sub message with data: " + decodedMessage); }; } ----- \ No newline at end of file +---- diff --git a/spring-cloud-function-samples/function-sample-gcp-http/README.adoc b/spring-cloud-function-samples/function-sample-gcp-http/README.adoc index a69596070..43a1c422c 100644 --- a/spring-cloud-function-samples/function-sample-gcp-http/README.adoc +++ b/spring-cloud-function-samples/function-sample-gcp-http/README.adoc @@ -33,7 +33,7 @@ Run the following command from the project root to deploy. ---- gcloud functions deploy function-sample-gcp-http \ --entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \ ---runtime java11 \ +--runtime java17 \ --trigger-http \ --source target/deploy \ --memory 512MB