Skip to content

Commit 3a4e008

Browse files
ofrobotsstephenplusplus
authored andcommitted
README: Consistent use of GCLOUD_PROJECT (#1227)
Elsewhere we in the codebase we use GCLOUD_PROJECT but in README.md there were some examples with GCLOUD_PROJECT_ID.
1 parent ca8305e commit 3a4e008

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If you are running this client on Google Compute Engine, we handle authenticatio
4949

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

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

7878
var gcloud = require('gcloud')({
7979
projectId: projectId,

0 commit comments

Comments
 (0)