Allow to redeploy error nodes

If there are error nodes in cluster,
Deploy Changes button should be available on Dashboard
for user to be able to redeploy the nodes.

Closes-Bug: #1650663

Change-Id: Ife0c0034fd181caf84ec22ac738118f0fbaae81d
This commit is contained in:
Julia Aranovich 2016-12-21 10:41:37 +03:00
parent 1bc84c472e
commit a4eebede2d
1 changed files with 1 additions and 0 deletions

View File

@ -503,6 +503,7 @@ models.Node = BaseModel.extend({
return this.get('pending_addition') ||
this.get('pending_deletion') ||
this.get('status') === 'stopped' ||
this.get('status') === 'error' ||
!!this.get('cluster') && !!this.get('pending_roles').length;
},
areDisksConfigurable() {