Daniel Erez has submitted this change and it was merged.
Change subject: core: return object locked message when storage domain is locked.
......................................................................
core: return object locked message when storage domain is locked.
This patch changed the returned canDoAction in case of a locked storage
domain to ACTION_TYPE_FAILED_OBJECT_LOCKED instead of
ACTION_TYPE_FAILED_STORAGE_DOMAIN_STATUS_ILLEGAL.
Change-Id: I209b624cd68050ebfe7eeed49b1350e37832e4aa
Bug-Url:
https://bugzilla.redhat.com/879355
Signed-off-by: Liron Aravot <laravot(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageDomainCommandBase.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/storage/ActivateStorageDomainCommandTest.java
2 files changed, 7 insertions(+), 2 deletions(-)
Approvals:
Daniel Erez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10691
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I209b624cd68050ebfe7eeed49b1350e37832e4aa
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>