Skip to content

Commit

Permalink
Fix project parameter in App Identity README.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tswast committed Jan 5, 2016
1 parent 7dfb03b commit 51e7487
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appengine/appidentity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ To run this sample locally:
In the following command, replace YOUR-PROJECT-ID with your
[Google Cloud Project ID](https://developers.google.com/console/help/new/#projectnumber).

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

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

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

$ mvn gcloud:deploy

without the need for any additional paramters.
without the need for any additional parameters.

0 comments on commit 51e7487

Please sign in to comment.