diff --git a/awx/ui/static/js/directives/host-count-graph.js b/awx/ui/static/js/directives/host-count-graph.js index 9b0f99440f..4e50836557 100644 --- a/awx/ui/static/js/directives/host-count-graph.js +++ b/awx/ui/static/js/directives/host-count-graph.js @@ -32,7 +32,6 @@ angular.module('DashboardGraphs'). function createGraph(data, license) { - //url = getBasePath('dashboard')+'graphs/'; var graphData = [ { diff --git a/awx/ui/static/js/directives/host-status-graph.js b/awx/ui/static/js/directives/host-status-graph.js index 281e6749f9..e5d5accccf 100644 --- a/awx/ui/static/js/directives/host-status-graph.js +++ b/awx/ui/static/js/directives/host-status-graph.js @@ -12,7 +12,7 @@ angular.module('DashboardGraphs') scope.$watch(attr.data, function(data) { if (data && data.hosts) { - buildGraph(data); + createGraph(data); } }); @@ -40,7 +40,7 @@ angular.module('DashboardGraphs') angular.element($window).off('resize', adjustGraphSize); }); - function buildGraph(data) { + function createGraph(data) { if(data.hosts.total+data.hosts.failed>0){ data = [ { diff --git a/awx/ui/static/js/services/job-status-graph-data.js b/awx/ui/static/js/services/job-status-graph-data.js index f578041d3a..b29c81456d 100644 --- a/awx/ui/static/js/services/job-status-graph-data.js +++ b/awx/ui/static/js/services/job-status-graph-data.js @@ -31,7 +31,7 @@ function JobStatusGraphData(Rest, getBasePath, processErrors, $rootScope, $q) { hdr: 'Error!', msg: errorMessage }); - return response; + return response; }); return pluck('data', result);