Eli Mesika has uploaded a new change for review.

Change subject: core: add missing passwd field to mapping
......................................................................

core: add missing passwd field to mapping

This patch adds a missing password field in the fence agent mapping

Change-Id: Ia4da2993e5441dfa5d35b2df50df5bcd0387f2a1
Signed-off-by: emesika <[email protected]>
---
M 
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/FenceAgentMapper.java
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/23/40423/1

diff --git 
a/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/FenceAgentMapper.java
 
b/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/FenceAgentMapper.java
index f37b423..f84ce9b 100644
--- 
a/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/FenceAgentMapper.java
+++ 
b/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/FenceAgentMapper.java
@@ -34,6 +34,9 @@
         if (model.isSetUsername()) {
             entity.setUser(model.getUsername());
         }
+        if (model.isSetPassword()) {
+            entity.setPassword(model.getPassword());
+        }
         if (model.isSetPort()) {
             entity.setPort(model.getPort());
             addPortToOptions(model);


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

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

Reply via email to