Kanagaraj M has posted comments on this change.

Change subject: gluster: Corrected the event log message
......................................................................


Patch Set 5: Looks good to me, but someone else must approve

(1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/ResetGlusterVolumeOptionsCommand.java
Line 50: 
Line 51:         if (getSucceeded()) {
Line 52: 
Line 53:             if (getParameters().getVolumeOption() != null && 
!(getParameters().getVolumeOption().getKey().isEmpty())) {
Line 54:                 GlusterVolumeOptionEntity entity = 
getGlusterVolume().getOption(getParameters().getVolumeOption().getKey());
Please add null check for entity.
Line 55:                 String optionValue = entity.getValue();
Line 56:                 removeOptionInDb(entity);
Line 57:                 isResetAllOptions = false;
Line 58:                 getParameters().getVolumeOption().setValue(optionValue 
!= null ? optionValue : "");


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icd53a3f6a0ef671562a510275d6dd54417669545
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to