Skip to content

Commit

Permalink
Merge pull request #620 from stephenplusplus/spp--docs-gcs-to-storage
Browse files Browse the repository at this point in the history
docs: var gcs -> var storage
  • Loading branch information
stephenplusplus committed May 21, 2015
2 parents 5071ea4 + a5c2be9 commit 1c81c27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/site/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ <h4>Example: Upload a file to Cloud Storage</h4>
projectId: 'grape-spaceship-123'
});

var gcs = gcloud.storage();
var storage = gcloud.storage();

var backups = gcs.bucket('backups');
var backups = storage.bucket('backups');
backups.upload('db.zip', function(err, file) {
// file.createReadStream();
// file.getMetadata();
Expand All @@ -118,9 +118,9 @@ <h4>Example: Upload a file to Cloud Storage</h4>
keyFilename: '/path/to/keyfile.json'
});

var gcs = gcloud.storage();
var storage = gcloud.storage();

var backups = gcs.bucket('backups');
var backups = storage.bucket('backups');
backups.upload('db.zip', function(err, file) {
// file.createReadStream();
// file.getMetadata();
Expand Down

0 comments on commit 1c81c27

Please sign in to comment.