From a3b085300d751a91bd93542d49ec78927f02ac00 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 22 Jun 2017 12:08:48 -0700 Subject: [PATCH] gcs: Add missing AnonListObjectsV2 --- cmd/gateway-gcs-anonymous.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/gateway-gcs-anonymous.go b/cmd/gateway-gcs-anonymous.go index f91cfca5e..df31df792 100644 --- a/cmd/gateway-gcs-anonymous.go +++ b/cmd/gateway-gcs-anonymous.go @@ -111,6 +111,11 @@ func (l *gcsGateway) AnonListObjects(bucket string, prefix string, marker string return fromMinioClientListBucketResult(bucket, result), nil } +// AnonListObjectsV2 - List objects anonymously v2 +func (l *gcsGateway) AnonListObjectsV2(bucket, prefix, continuationToken string, fetchOwner bool, delimiter string, maxKeys int) (loi ListObjectsV2Info, e error) { + return loi, NotImplemented{} +} + // AnonGetBucketInfo - Get bucket metadata anonymously. func (l *gcsGateway) AnonGetBucketInfo(bucket string) (bucketInfo BucketInfo, err error) { resp, err := http.Head(toGCSPublicURL(bucket, ""))