[2/3] mesos git commit: Fixed the broken metrics information of master in WebUI.

2016-10-27 Thread vinodkone
Fixed the broken metrics information of master in WebUI. After we introduced redirection on `/master/state` endpoint to the leading master in `c9153336`, the metrics information in the WebUI was broken when the current master is not the leading master. In this patch, we retrieve the leading maste

[2/3] mesos git commit: Fixed the broken metrics information of master in WebUI.

2016-10-27 Thread vinodkone
Fixed the broken metrics information of master in WebUI. After we introduced redirection on `/master/state` endpoint to the leading master in `c9153336`, the metrics information in the WebUI was broken when the current master is not the leading master. In this patch, we retrieve the leading maste