mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
feat(ui): add more info about nodes in Swarm view
This commit is contained in:
parent
95b16919a6
commit
201ab20131
3 changed files with 50 additions and 56 deletions
|
@ -53,8 +53,8 @@ angular.module('swarm', [])
|
|||
node.id = info[offset + 1][1];
|
||||
node.status = info[offset + 2][1];
|
||||
node.containers = info[offset + 3][1];
|
||||
node.cpu = info[offset + 4][1];
|
||||
node.memory = info[offset + 5][1];
|
||||
node.cpu = info[offset + 4][1].split('/')[1];
|
||||
node.memory = info[offset + 5][1].split('/')[1];
|
||||
node.labels = info[offset + 6][1];
|
||||
node.version = info[offset + 8][1];
|
||||
$scope.swarm.Status.push(node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue