-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Update docs to add Size and RefCount to types.Volumes in sample output.
#27262
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
Update docs to add Size and RefCount to types.Volumes in sample output.
#27262
Conversation
…utput. This fix updates the related docs to add `Size` and `RefCount` to `types.Volumes` in sample output, both were added in 26108. Signed-off-by: Yong Tang <[email protected]>
|
@mlaventure Is exposing these fields by design? If I look at the implementation they don't seem to be filled. |
|
They are only filled by |
|
Below is the output against master: |
|
@mlaventure ^^ |
|
That's the expected output. The fields are initialized as |
|
@mlaventure but that would imply there are two useless fields in that response; should we have a separate type so that they don't appear? |
|
@thaJeztah sgtm if you can find me a name to use for the new struct type 👼 |
Oh! Look at that, I have to pack my suitcase 👼 |
|
@yongtang thanks for starting this PR; @mlaventure fixed the type so that these properties are not returned when not needed (see #27294) |
|
Thanks @mlaventure @thaJeztah @tonistiigi for taking care of it. |
|
@mlaventure @thaJeztah It seems that the docs needs to be updated after the change: I just created a PR #27305 to update the docs related to |
SizeandRefCounthave been added totypes.Volumes(#26108) though some of the remote API docs were not updated.This fix updates the related docs to add
SizeandRefCounttotypes.Volumesin sample output.Signed-off-by: Yong Tang [email protected]