Maor Lipchuk has uploaded a new change for review.

Change subject: core: Change audit log value to be unique
......................................................................

core: Change audit log value to be unique

There is a duplicate value code in the auditLogType file, which can
cause wrong audit log to be presented.
The proposed patch fix them  it so it will be unique.

Signed-off-by: Maor Lipchuk <[email protected]>
Change-Id: I81e7074807396541d041a170adeff49949b9d731
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/39/20739/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
index 134daa0..ea06e61 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
@@ -186,9 +186,10 @@
     USER_ADD_DISK_FINISHED_SUCCESS(2021),
     USER_ADD_DISK_FINISHED_FAILURE(2022),
     USER_FAILED_ADD_DISK(2023),
-    USER_IMPORT_IMAGE(2024),
-    USER_IMPORT_IMAGE_FINISHED_SUCCESS(2025),
-    USER_IMPORT_IMAGE_FINISHED_FAILURE(2026),
+    USER_IMPORT_IMAGE(2027),
+    USER_IMPORT_IMAGE_FINISHED_SUCCESS(2028),
+    USER_IMPORT_IMAGE_FINISHED_FAILURE(2029),
+
     // Used only from SQL script, therefor should not have severity & message
     USER_RUN_UNLOCK_ENTITY_SCRIPT(2024),
     USER_MOVE_IMAGE_GROUP_FAILED_TO_DELETE_SRC_IMAGE(2025),


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I81e7074807396541d041a170adeff49949b9d731
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Maor Lipchuk <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to