Shubhendu Tripathi has posted comments on this change.

Change subject: gluster: BLL command for volume snapshot create
......................................................................


Patch Set 20:

(1 comment)

http://gerrit.ovirt.org/#/c/34928/20/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateGlusterVolumeSnapshotCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateGlusterVolumeSnapshotCommand.java:

Line 106: 
Line 107:                             return;
Line 108:                         } else {
Line 109:                             // Persist the snapshot details
Line 110:                             GlusterVolumeSnapshotEntity 
slaveVolumeSnapshot = new GlusterVolumeSnapshotEntity();
> it would be nice to extract this part to a method, make the code cleaner..
sure. will send another patch for the same
Line 111:                             
slaveVolumeSnapshot.setClusterId(slaveVolume.getClusterId());
Line 112:                             
slaveVolumeSnapshot.setVolumeId(slaveVolume.getId());
Line 113:                             slaveVolumeSnapshot.setSnapshotId((Guid) 
snapCreationRetVal.getReturnValue());
Line 114:                             
slaveVolumeSnapshot.setSnapshotName(snapshot.getSnapshotName());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I2c27f9e73bac8d6de3022b0dd4e70aa0d8b1494b
Gerrit-PatchSet: 20
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Ramesh N <rnach...@redhat.com>
Gerrit-Reviewer: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <wallaroo1...@gmail.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