You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have own accessKey, secretKey, region and endpoint and I have built my client as below,
then I have supported my users relying on checking whether the bucket and the object exists, the implement is as below
However, which is strange is that the count of my ListBuckets returns 1000 when I am sure I have buckers more than it. Therefore, I have implemented a ExistBucket function relying on ListBuckets and I get the wrong result. The implementation is as below,
However, I can get objects under this bucket. Is there any filter of list buckets I have ignored and how could I make sure see the right result. I 'll appreciate it if you could help~
Expected Behavior
I hope it could list all the buckets when I am calling ListBuckets(nil)
Current Behavior
it returns 1000 of it
Reproduction Steps
a.txt
I can get objects in bucket 'aip-svc-123-modelrepo' but I can not get such bucket in 'ListBucket'
Possible Solution
No response
Additional Information/Context
No response
SDK version used
v1.48.3 & the latest
Environment details (Version of Go (go version)? OS name and version, etc.)
go1.20
The text was updated successfully, but these errors were encountered:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
I have own accessKey, secretKey, region and endpoint and I have built my client as below,
then I have supported my users relying on checking whether the bucket and the object exists, the implement is as below
However, which is strange is that the count of my
ListBuckets
returns 1000 when I am sure I have buckers more than it. Therefore, I have implemented aExistBucket
function relying on ListBuckets and I get the wrong result. The implementation is as below,However, I can get objects under this bucket. Is there any filter of list buckets I have ignored and how could I make sure see the right result. I 'll appreciate it if you could help~
Expected Behavior
I hope it could list all the buckets when I am calling ListBuckets(nil)
Current Behavior
it returns 1000 of it
Reproduction Steps
a.txt
I can get objects in bucket 'aip-svc-123-modelrepo' but I can not get such bucket in 'ListBucket'
Possible Solution
No response
Additional Information/Context
No response
SDK version used
v1.48.3 & the latest
Environment details (Version of Go (
go version
)? OS name and version, etc.)go1.20
The text was updated successfully, but these errors were encountered: