Moti Asayag has uploaded a new change for review.

Change subject: engine: Fix <UNKNOWN> VMs count in audit log
......................................................................

engine: Fix <UNKNOWN> VMs count in audit log

The audit log should translate the ${VmsCount} placeholder
with the expected number of vms within the add/update action.

Change-Id: Iac860a6a0bed67f80fa81be13768445af251b8c4
Signed-off-by: Moti Asayag <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/38348/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
index 66aa914..ef15f89 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
@@ -455,4 +455,10 @@
         return new MultipleStorageDomainsValidator(spId, sdIds);
     }
 
+    /**
+     * Required for the audit logging
+     */
+    public String getVmsCount() {
+        return String.valueOf(getParameters().getVmsCount());
+    }
 }


-- 
To view, visit https://gerrit.ovirt.org/38348
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to