-
Notifications
You must be signed in to change notification settings - Fork 95
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
Fix missing xml fields on storage usage. #808
Conversation
|
||
storage_stats_request(UserConfig, Begin, End) -> | ||
{storage_stats_json_request(UserConfig, Begin, End), | ||
storage_stats_xml_request(UserConfig, Begin, End)}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong indent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
extract_usage(#xmlElement{name=Name, content=[Content]}, Acc) -> | ||
[{Name, extract_value(Content)}] ++ Acc; | ||
extract_usage(_, Acc) -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this clause needed?
Source diff looks good, riak_test runs successfully. Nice! I added some not important comments. |
|
👍 |
- update supported xml fields - add riak_test to xml response on storage usage. - improve rtcs:datetime to more helpful format.
…-stat Fix missing xml fields on storage usage.
Thanks 🍫 |
Problem: Storage usage api responds 500 internal error on xml request.
Fix: Add missing supported xml fields to the definitions.
Reported by: #797
This PR includes: