custom asyncForEach() is gone
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
/* global angular:false */
|
||||
/* global $:false */
|
||||
/* global asyncForEach */
|
||||
/* global angular */
|
||||
/* global $ */
|
||||
/* global async */
|
||||
/* global Chart */
|
||||
|
||||
angular.module('Application').controller('SystemController', ['$scope', '$location', '$timeout', 'Client', function ($scope, $location, $timeout, Client) {
|
||||
@@ -189,7 +189,7 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati
|
||||
$scope.disks.disks = result.disks; // [ { filesystem, type, size, used, available, capacity, mountpoint }]
|
||||
|
||||
// render data of each disk
|
||||
asyncForEach(result.disks, function (disk, iteratorCallback) {
|
||||
async.eachSeries(result.disks, function (disk, iteratorCallback) {
|
||||
// /dev/sda1 -> sda1
|
||||
// /dev/mapper/foo -> mapper_foo (see #348)
|
||||
var diskName = disk.filesystem.slice(disk.filesystem.indexOf('/', 1) + 1);
|
||||
|
||||
Reference in New Issue
Block a user