You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2021/12/03 05:46:55 UTC

[cloudstack] branch 4.16 updated: UI: Enable cancel host maintenance when resource state is 'ErrorInPrepareForMaintenance' (#5737)

This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.16 by this push:
     new 4580822  UI: Enable cancel host maintenance when resource state is 'ErrorInPrepareForMaintenance' (#5737)
4580822 is described below

commit 458082234d91ed31f3262521f94f489c0c283d3e
Author: Wei Zhou <we...@apache.org>
AuthorDate: Fri Dec 3 06:46:25 2021 +0100

    UI: Enable cancel host maintenance when resource state is 'ErrorInPrepareForMaintenance' (#5737)
---
 ui/src/config/section/infra/hosts.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/config/section/infra/hosts.js b/ui/src/config/section/infra/hosts.js
index dbf8e6e..6ab3c29 100644
--- a/ui/src/config/section/infra/hosts.js
+++ b/ui/src/config/section/infra/hosts.js
@@ -125,7 +125,7 @@ export default {
       message: 'message.action.cancel.maintenance.mode',
       docHelp: 'adminguide/hosts.html#maintaining-hypervisors-on-hosts',
       dataView: true,
-      show: (record) => { return record.resourcestate === 'Maintenance' || record.resourcestate === 'ErrorInMaintenance' || record.resourcestate === 'PrepareForMaintenance' }
+      show: (record) => { return record.resourcestate === 'Maintenance' || record.resourcestate === 'ErrorInMaintenance' || record.resourcestate === 'PrepareForMaintenance' || record.resourcestate === 'ErrorInPrepareForMaintenance' }
     },
     {
       api: 'configureOutOfBandManagement',