Sharad Mishra has uploaded a new change for review.

Change subject: core: Incorrect number of arguments passed to String.format in 
VdsInstallerSSH
......................................................................

core: Incorrect number of arguments passed to String.format in VdsInstallerSSH

Call expected 2 arguments but only one was passed. We have two option of either
reducing the number of arguments to one or passing some string from exception.
This patch passes the message from exception.

Change-Id: Iedcc2042aca4168f9502f3694451bc1f2bfd7fcf
Signed-off-by: Sharad Mishra <snmis...@linux.vnet.ibm.com>
---
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/hostinstall/VdsInstallerSSH.java
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/12/8112/1

diff --git 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/hostinstall/VdsInstallerSSH.java
 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/hostinstall/VdsInstallerSSH.java
index de5e4fc..9546cef 100644
--- 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/hostinstall/VdsInstallerSSH.java
+++ 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/hostinstall/VdsInstallerSSH.java
@@ -121,7 +121,8 @@
             log.debug(
                 String.format(
                     "Could not connect to server %1$s: %2$s",
-                    this.client.getDisplayHost()
+                    this.client.getDisplayHost(),
+                    e.getMessage()
                 ),
                 e
             );


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iedcc2042aca4168f9502f3694451bc1f2bfd7fcf
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sharad Mishra <snmis...@linux.vnet.ibm.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to