Skip to content

Commit

Permalink
README: Consistent use of GCLOUD_PROJECT (#1227)
Browse files Browse the repository at this point in the history
Elsewhere we in the codebase we use GCLOUD_PROJECT but in README.md there were some examples with GCLOUD_PROJECT_ID.
  • Loading branch information
ofrobots authored and stephenplusplus committed Apr 13, 2016
1 parent ca8305e commit 3a4e008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If you are running this client on Google Compute Engine, we handle authenticatio

``` js
// Authenticating on a global basis.
var projectId = process.env.GCLOUD_PROJECT_ID; // E.g. 'grape-spaceship-123'
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'
var gcloud = require('gcloud')({
projectId: projectId
});
Expand All @@ -73,7 +73,7 @@ If you are not running this client on Google Compute Engine, you need a Google D

``` js
// Authenticating on a global basis.
var projectId = process.env.GCLOUD_PROJECT_ID; // E.g. 'grape-spaceship-123'
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'

var gcloud = require('gcloud')({
projectId: projectId,
Expand Down

0 comments on commit 3a4e008

Please sign in to comment.