Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro committed Jun 24, 2024
1 parent 7be0018 commit 2d3b13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func (n *jfsObjects) ListObjects(ctx context.Context, bucket, prefix, marker, de
etag, _ := n.fs.GetXattr(mctx, n.path(bucket, object), s3Etag)
info.ETag = string(etag)
}
return obj, jfsToObjectErr(ctx, eno, bucket, object)
return *info, jfsToObjectErr(ctx, eno, bucket, object)
}

if maxKeys == 0 {
Expand Down

0 comments on commit 2d3b13b

Please sign in to comment.