From 2d6ab6fcc8624f1d242e9e741f8ccffb4989c94d Mon Sep 17 00:00:00 2001 From: Jon Wayne Parrott Date: Tue, 14 Mar 2017 20:01:39 -0700 Subject: [PATCH] Fix gcloud commands for GCE deployment (#101) Context: https://github.com/GoogleCloudPlatform/golang-samples/pull/205 --- 7-gce/gce/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/7-gce/gce/deploy.sh b/7-gce/gce/deploy.sh index fdf7c844c..09aab62fd 100755 --- a/7-gce/gce/deploy.sh +++ b/7-gce/gce/deploy.sh @@ -62,7 +62,7 @@ gcloud compute instance-groups managed \ # [START create_named_port] gcloud compute instance-groups managed set-named-ports \ $GROUP \ - --named-port http:8080 \ + --named-ports http:8080 \ --zone $ZONE # [END create_named_port] @@ -97,7 +97,7 @@ gcloud compute http-health-checks create ah-health-check \ # [START create_backend_service] gcloud compute backend-services create $SERVICE \ - --http-health-check ah-health-check \ + --http-health-checks ah-health-check \ --port 8080 # [END create_backend_service]