-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ListSharesSegment call's marker not working as expected #59
Comments
@mohsha-msft could you please attempt a repro? |
Hey @nadundesilva , Thanks for reaching out! ListSharesSegment(ctx, azfile.Marker{}, azfile.ListSharesOptions{Detail: azfile.ListSharesDetail{Deleted:true}}) |
@mohsha-msft actually my requirement is to not include the deleted shares at all in the listing calls (When using the marker even though I do not specify the Also the SDK (version - v0.8.0) doesn't yet seem to have the |
Any update on this ? @mohsha-msft |
Any chance we can look into this issue ? 🤔 @zezha-msft @mohsha-msft |
Which version of the SDK was used?
latest (v0.8.0)
Which platform are you using? (ex: Windows, Linux, Debian)
Mac
What problem was encountered?
I have a storage account with file shares with soft delete enabled. I am trying to limit and list the fileshares iteratively in the storage account using the marker parameter. However, the marker value points to a deleted fileshare and this is causing the list call to not properly send the next set of results.
How can we reproduce the problem in the simplest way?
ListSharesSegment
method passing in marker from previous call as well asMaxResults: 2
The returned marker also points to a deleted share (I know this is opaque to us but doesn't seem like it's correct. But I could be wrong)
Have you found a mitigation/solution?
No. We have to list the full list of shares as of now
The text was updated successfully, but these errors were encountered: