Can not recover a clusetr in warning status by senlin-dashboard
Change-Id: Id92daaf63912c441287836074a62741267ecfcd5 Closes-Bug: #1742091
This commit is contained in:
parent
1fb79d7e76
commit
9df131cb02
|
@ -88,7 +88,7 @@ class RecoverCluster(tables.BatchAction):
|
|||
|
||||
def allowed(self, request, datum):
|
||||
if datum:
|
||||
return datum.status == "ERROR"
|
||||
return datum.status == "ERROR" or datum.status == "WARNING"
|
||||
else:
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue