Skip to content

Commit

Permalink
test: add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh4723 committed Aug 22, 2024
1 parent b6ec9b7 commit f7bb74a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/disk-cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ func (c *cacheObjects) CopyObject(ctx context.Context, srcBucket, srcObject, dst

// ListObjects from disk cache
func (c *cacheObjects) ListObjects(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (result ListObjectsInfo, err error) {
fmt.Println("list cache maxkeys", maxKeys)
objInfos := []ObjectInfo{}
prefixes := []string{}
var objStats results
Expand Down Expand Up @@ -527,6 +528,7 @@ func (c *cacheObjects) ListObjects(ctx context.Context, bucket, prefix, marker,

// ListObjectsV2 from disk cache
func (c *cacheObjects) ListObjectsV2(ctx context.Context, bucket, prefix, continuationToken, delimiter string, maxKeys int, fetchOwner bool, startAfter string) (result ListObjectsV2Info, err error) {
fmt.Println("listv22 cache maxkeys", maxKeys)
objInfos := []ObjectInfo{}
prefixes := []string{}
var objStats results
Expand Down

0 comments on commit f7bb74a

Please sign in to comment.