From 3a4e008ee9479a8f7a51afa175c3d9d7eaf7decd Mon Sep 17 00:00:00 2001 From: Ali Ijaz Sheikh Date: Wed, 13 Apr 2016 10:38:15 -0700 Subject: [PATCH] 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. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21af2d2c48b..088152a8ee3 100644 --- a/README.md +++ b/README.md @@ -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 }); @@ -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,