
Arik Hadas has submitted this change and it was merged. Change subject: core: early return in VmAnalyzer#updateRepository ...................................................................... core: early return in VmAnalyzer#updateRepository VmAnalyzer#updateRepository does nothing when the VM is in the last phase of the migration (migrating-to). This patch changes the 'if' case at its beginning to simply return and by that to reduce the number of nested levels in that method. Change-Id: I3efe0760c77177d4806c9c8bd9266a1550f2b08c Signed-off-by: Arik Hadas <ahadas@redhat.com> --- M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/monitoring/VmAnalyzer.java 1 file changed, 66 insertions(+), 64 deletions(-) Approvals: Shahar Havivi: Looks good to me, approved Jenkins CI: Passed CI tests Arik Hadas: Verified -- To view, visit https://gerrit.ovirt.org/56529 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3efe0760c77177d4806c9c8bd9266a1550f2b08c Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Shahar Havivi <shavivi@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>