Fix typo in GCS ReadObject comment

This commit is contained in:
Valentin Hăloiu 2018-05-25 12:11:58 +02:00
parent 760de8f66a
commit b1b51b8688
No known key found for this signature in database
GPG Key ID: 87E93129EF450C7A
1 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,9 @@ import (
"google.golang.org/api/iterator"
"google.golang.org/api/option"
"github.com/vimeo/go-util/crc32combine"
"hash/crc32"
"github.com/vimeo/go-util/crc32combine"
)
type GCSObjectParams struct {
@ -260,7 +261,7 @@ func (service *GCSService) GetObjectAttrs(params GCSObjectParams) (*storage.Obje
}
// ReadObject reaads a GCSObjectParams, returning a GCSReader object if successful, and an error otherwise
// ReadObject reads a GCSObjectParams, returning a GCSReader object if successful, and an error otherwise
func (service *GCSService) ReadObject(params GCSObjectParams) (GCSReader, error) {
r, err := service.Client.Bucket(params.Bucket).Object(params.ID).NewReader(service.Ctx)
if err != nil {