]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/form/NodeSelector.js
ui: NodeSelector: check status field for offline nodes
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 8 May 2019 09:12:23 +0000 (11:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 May 2019 16:30:22 +0000 (16:30 +0000)
commitc0d4a151fd45a5867b1f2138facf772d12acdf62
tree174e343981441f229b839f4fe4d201b769551eb6
parent69106e5cf3a270908420061e5e6658ba0f436d3b
ui: NodeSelector: check status field for offline nodes

the memory stat is not available if the user has no audit privilges on
/nodes/NODENAME but the status is always available

also it makes simple more sense to check if it is online not only if the
memory value is there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/form/NodeSelector.js