Daniel Erez has submitted this change and it was merged.

Change subject: webadmin: prevent npe on VdcActionUtils canExecute
......................................................................


webadmin: prevent npe on VdcActionUtils canExecute

VmSnapshotListModel -> updateActionAvailability:
passing an empty list to VdcActionUtils.canExecute
when VM is null to avoid an NPE.

Change-Id: I63e3570b48f8039642a5f1ce3af1f9c4599d688c
Signed-off-by: Daniel Erez <de...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmSnapshotListModel.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/20446
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I63e3570b48f8039642a5f1ce3af1f9c4599d688c
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to