Daniel Erez has posted comments on this change.

Change subject: restapi: Allow override of allocation policy of imported disks
......................................................................


Patch Set 2: Code-Review+1

(1 comment)

http://gerrit.ovirt.org/#/c/36131/2/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainVmResource.java
File 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainVmResource.java:

Line 95:                                 VolumeFormat entityDiskFormat = 
DiskMapper.map(modelDiskFormat, null);
Line 96:                                 
entityDisk.setvolumeFormat(entityDiskFormat);
Line 97:                             }
Line 98:                             if (modelDisk.isSetSparse()) {
Line 99:                                 VolumeType entityDiskType = 
modelDisk.isSparse()? VolumeType.Sparse: VolumeType.Preallocated;
formatter...
Line 100:                                 
entityDisk.setVolumeType(entityDiskType);
Line 101:                             }
Line 102:                         }
Line 103:                     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Idc9945968b7cd2b8a82d953f659967d72064d583
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to