Skip to content

Commit 51e7487

Browse files
committed
Fix project parameter in App Identity README.
The gcloud command was getting the project argument when I was passing it in as -Dgcloud_project. After changing to -Dgcloud.gcloud_project it now deploys to the project I specify there. I hadn't noticed this until I had modified my gcloud config and deployments started going to the wrong project.
1 parent 7dfb03b commit 51e7487

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appengine/appidentity/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ To run this sample locally:
1212
In the following command, replace YOUR-PROJECT-ID with your
1313
[Google Cloud Project ID](https://developers.google.com/console/help/new/#projectnumber).
1414

15-
$ mvn gcloud:deploy -Dgcloud_project=YOUR-PROJECT-ID
15+
$ mvn gcloud:deploy -Dgcloud.gcloud_project=YOUR-PROJECT-ID
1616

1717
## Setup
1818
To save your project settings so that you don't need to enter the
19-
`-Dgcloud_project=YOUR-CLOUD-PROJECT-ID` parameters, you can:
19+
`-Dgcloud.gcloud_project=YOUR-CLOUD-PROJECT-ID` parameters, you can:
2020

2121
1. Update the <application> tag in src/main/webapp/WEB-INF/appengine-web.xml
2222
with your project name.
@@ -25,4 +25,4 @@ You will now be able to run
2525

2626
$ mvn gcloud:deploy
2727

28-
without the need for any additional paramters.
28+
without the need for any additional parameters.

0 commit comments

Comments
 (0)