-
Notifications
You must be signed in to change notification settings - Fork 950
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
bug: pouch inspect can not show zero value #1491
Comments
I think the key point is finding a way to generate a field which is not required but has no attribute of omitempty. Right? @HusterWan cc @zhuangqh |
Compared with |
BlkBufferWriteBps this heys not need. |
I create a proposal to cover this condition. go-swagger/go-swagger#1623 |
Could we close this issue? @zhuangqh I would invite you to take a double check. |
already fixed in #2350 . closed @allencloud @Ace-Tang |
Ⅰ. Issue Description
Ⅱ. Describe what happened
Since the struct field has
omitempty
, so json umarshal can not show zero value . Like Cpu info and memory info which can not ne showed. It is a bug.Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
pouch version
):uname -a
):The text was updated successfully, but these errors were encountered: