Bugzilla – Bug 214
node_image for dead node shows healthy icon
Last modified: 2008-10-26 10:40:25
You need to log in before you can comment on or make changes to this bug.
When looking at a host_view for a node that is down, node_image will return a reference to node_0-24.jpg instead of node_dead.jpg. This puts a misleading icon on the page.
Created an attachment (id=171) [details] Proposed Patch
Thanks for the bug report Noah, however I think all we need to do is add "global $hosts_down;" in the node_image() function.
Created an attachment (id=172) [details] Updated patch
Ah - you're right. When I was testing I mistakenly looked at a healthy node, so $hosts_down wasn't set! Oops!
Patch checked into trunk r1852, backported to 3.1.x r1863. Closing issue -- can be re-opened if backport to 3.0.x is desired.