mirror of https://github.com/portainer/portainer
Fixed grunt style warnings.
parent
8a7f8f7c37
commit
6cb658a1ef
|
@ -50,7 +50,7 @@ angular.module('containersNetwork', ['ngVis'])
|
|||
this.hasEdge = function (from, to) {
|
||||
return this.edges.getIds({
|
||||
filter: function (item) {
|
||||
return item.from == from.Id && item.to == to.Id;
|
||||
return item.from === from.Id && item.to === to.Id;
|
||||
}
|
||||
}).length > 0;
|
||||
};
|
||||
|
|
|
@ -9,8 +9,8 @@ angular.module('pullImage', [])
|
|||
repo: '',
|
||||
fromImage: '',
|
||||
tag: 'latest'
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
$scope.init();
|
||||
|
||||
|
@ -52,5 +52,5 @@ angular.module('pullImage', [])
|
|||
$('#pull-modal').modal('show');
|
||||
$('#error-message').show();
|
||||
});
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
|
|
@ -46,7 +46,7 @@ angular.module('stats', [])
|
|||
if (systemDelta > 0.0 && cpuDelta > 0.0) {
|
||||
cpuPercent = (cpuDelta / systemDelta) * curCpu.cpu_usage.percpu_usage.size() * 100.0;
|
||||
}
|
||||
return cpuPercent
|
||||
return cpuPercent;
|
||||
};
|
||||
|
||||
function updateChart(data) {
|
||||
|
|
Loading…
Reference in New Issue