diff --git a/lib/storage/file.js b/lib/storage/file.js index d00e7cd10b3..b4b08a968a2 100644 --- a/lib/storage/file.js +++ b/lib/storage/file.js @@ -353,7 +353,7 @@ File.prototype.move = function(destination, callback) { * "CONTENT_DOWNLOAD_MISMATCH". If you receive this error, the best recourse is * to try downloading the file again. * - * NOTE: Readable streams will emit the `complete` event when the file is fully + * NOTE: Readable streams will emit the `end` event when the file is fully * downloaded. * * @param {object=} options - Configuration object. @@ -622,7 +622,7 @@ File.prototype.createResumableUpload = function(metadata, callback) { * Resumable uploads are automatically enabled and must be shut off explicitly * by setting `options.resumable` to `false`. * - * NOTE: Writable streams will emit the `complete` event when the file is fully + * NOTE: Writable streams will emit the `finish` event when the file is fully * uploaded. * * @resource [Upload Options (Simple or Resumable)]{@link https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload#uploads}