Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4966422

Browse files
author
remi Taylor
authored
bookshelf/gce_deployment: fix gcloud commands
See: GoogleCloudPlatform/golang-samples#205
1 parent 1fd32e7 commit 4966422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

7-compute-engine/gce/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ gcloud compute instance-groups managed \
6767
# [START create_named_port]
6868
gcloud compute instance-groups managed set-named-ports \
6969
$GROUP \
70-
--named-port http:8080 \
70+
--named-ports http:8080 \
7171
--zone $ZONE
7272
# [END create_named_port]
7373

@@ -101,7 +101,7 @@ gcloud compute http-health-checks create ah-health-check \
101101

102102
# [START create_backend_service]
103103
gcloud compute backend-services create $SERVICE \
104-
--http-health-check ah-health-check
104+
--http-health-checks ah-health-check
105105
# [END create_backend-service]
106106

107107
# [START add_backend_service]

0 commit comments

Comments
 (0)