Shubhendu Tripathi has uploaded a new change for review.

Change subject: gluster: Gluster Sync job event log corrected
......................................................................

gluster: Gluster Sync job event log corrected

Corrected the event log message shown in the case of reset of a volume
option through CLI. Now it shows the value of the reset option as well
in the event log message.

Change-Id: I82ed05a8ef5faec8202b79fe0037482d956f3fed
Bug-Url: https://bugzilla.redhat.com/956041
Signed-off-by: Shubhendu Tripathi <shtri...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterSyncJob.java
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/72/15172/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterSyncJob.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterSyncJob.java
index 50b91ac..44bb3ad 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterSyncJob.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterSyncJob.java
@@ -549,7 +549,12 @@
                 if 
(!GlusterConstants.OPTION_GROUP.equals(existingOption.getKey())) {
                     logUtil.logAuditMessage(fetchedVolume.getClusterId(), 
fetchedVolume, null,
                             AuditLogType.GLUSTER_VOLUME_OPTION_RESET_FROM_CLI,
-                            new HashMap<String, String>(){{ 
put(GlusterConstants.OPTION_KEY, existingOption.getKey()); }});
+                            new HashMap<String, String>() {
+                                {
+                                    put(GlusterConstants.OPTION_KEY, 
existingOption.getKey());
+                                    put(GlusterConstants.OPTION_VALUE, 
existingOption.getValue());
+                                }
+                            });
                 }
             }
         }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I82ed05a8ef5faec8202b79fe0037482d956f3fed
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to