Yair Zaslavsky has submitted this change and it was merged.
Change subject: core: Adding logic to DeactivateStorageDomainCommand.canDoAction
......................................................................
core: Adding logic to DeactivateStorageDomainCommand.canDoAction
The added logic fails canDoAction in case there are running tasks
on a storage pool and there is an attempt to deactivate a master
storage domain
Change-Id: Icea6b7f841903628757ebb1991684f1c43e8bbd8
Signed-off-by: Yair Zaslavsky <yzaslavs(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/DeactivateStorageDomainCommand.java
1 file changed, 10 insertions(+), 4 deletions(-)
Approvals:
Yair Zaslavsky: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/6691
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icea6b7f841903628757ebb1991684f1c43e8bbd8
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>