Commit 2fb1c60c authored by Ad Schellevis's avatar Ad Schellevis

(netflow) camelcase cache_stats

parent bec30ed2
......@@ -142,7 +142,7 @@ class NetflowController extends ApiControllerBase
* Retrieve netflow cache statistics
* @return array cache statistics per netgraph node
*/
public function cache_statsAction()
public function cacheStatsAction()
{
$backend = new Backend();
$response = $backend->configdRun("netflow cache stats json");
......
......@@ -46,7 +46,7 @@ POSSIBILITY OF SUCH DAMAGE.
});
$("#act_refresh_cache_stats").click(function(){
ajaxGet(url='/api/diagnostics/netflow/cache_stats',sendData={}, callback=function(data, status) {
ajaxGet(url='/api/diagnostics/netflow/cacheStats',sendData={}, callback=function(data, status) {
var html = []
// convert to plain Array
var data_arr = $.makeArray(data)[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment