File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ <h4>Example: Upload a file to Cloud Storage</h4>
102
102
projectId: 'grape-spaceship-123'
103
103
});
104
104
105
- var gcs = gcloud.storage();
105
+ var storage = gcloud.storage();
106
106
107
- var backups = gcs .bucket('backups');
107
+ var backups = storage .bucket('backups');
108
108
backups.upload('db.zip', function(err, file) {
109
109
// file.createReadStream();
110
110
// file.getMetadata();
@@ -118,9 +118,9 @@ <h4>Example: Upload a file to Cloud Storage</h4>
118
118
keyFilename: '/path/to/keyfile.json'
119
119
});
120
120
121
- var gcs = gcloud.storage();
121
+ var storage = gcloud.storage();
122
122
123
- var backups = gcs .bucket('backups');
123
+ var backups = storage .bucket('backups');
124
124
backups.upload('db.zip', function(err, file) {
125
125
// file.createReadStream();
126
126
// file.getMetadata();
You can’t perform that action at this time.
0 commit comments