diff --git a/app/components/swarm/swarmController.js b/app/components/swarm/swarmController.js index a3b096076..a12b238bf 100644 --- a/app/components/swarm/swarmController.js +++ b/app/components/swarm/swarmController.js @@ -52,11 +52,10 @@ angular.module('swarm', []) node.ip = info[offset][1]; node.id = info[offset + 1][1]; node.status = info[offset + 2][1]; - node.containers = info[offset + 2][1]; - node.cpu = info[offset + 3][1]; - node.memory = info[offset + 4][1]; - node.labels = info[offset + 5][1]; - node.error = info[offset + 6][1]; + node.containers = info[offset + 3][1]; + node.cpu = info[offset + 4][1]; + node.memory = info[offset + 5][1]; + node.labels = info[offset + 6][1]; node.version = info[offset + 8][1]; $scope.swarm.Status.push(node); }