Open ctrowat opened 3 years ago
same here
I can reproduce. ?format=text also not working.
Confirmed here, I made an issue on the other repo https://github.com/ytti/oxidized/issues/3234, and it has been mentioned here before https://github.com/ytti/oxidized-web/issues/182
I have zero Ruby knowledge, but from some brief poking and GPT-ing, it seems to be that within lib/oxidized/web/webapp.rb
there needs to be a serialisation method for the Node::Stats
class, as currently when it's converted to json, you just get the above.
Anyone with Ruby knowledge able to take a look? Doesn't seem a big fix for this one.
When making a GET request to the specified endpoint node stats are not returned correctly. Instead I get a response like this: