Moti Asayag has submitted this change and it was merged.
Change subject: engine: Logging a renamed entity only on success
......................................................................
engine: Logging a renamed entity only on success
If the command failed, the update command is failed and
rollbacked, hence no 'renamed-entity' event occurred.
Logging an event for 'renamed-entity' is required only
if the command has ended successfully.
Change-Id: I99d9db3654e4ec8f765fc9097827488a4f0e252a
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
1 file changed, 6 insertions(+), 2 deletions(-)
Approvals:
Eli Mesika: Looks good to me, approved
Omer Frenkel: Looks good to me, approved
Moti Asayag: Verified
--
To view, visit
https://gerrit.ovirt.org/40945
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I99d9db3654e4ec8f765fc9097827488a4f0e252a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org