Allon Mureinik has posted comments on this change.

Change subject: core: Changed illegal error msg to locked(#840304)
......................................................................


Patch Set 3: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImagesHandler.java
Line 474:                             
VdcBllMessages.ACTION_TYPE_FAILED_DISKS_IMAGES_ARE_LOCKED.toString());
Line 475:                     messages.add(String.format("$%1$s %2$s", 
"diskAliases", StringUtils.join(lockedDisksAliases, ", ")));
Line 476:                 }
Line 477:             }
Line 478: 
No, you aren't.
Take a look at vm template creation, e.g.
Line 479:             if (returnValue && vm.getstatus() == 
VMStatus.ImageLocked) {
Line 480:                 ListUtils.nullSafeAdd(messages, 
VdcBllMessages.ACTION_TYPE_FAILED_VM_IMAGE_IS_LOCKED.toString());
Line 481:                 returnValue = false;
Line 482:             }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I2edb7b8c946589f3bbad251d533704fe856bc175
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vered Volansky <vvola...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <a...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to