Sharad Mishra has uploaded a new change for review.

Change subject: core: Incorrect syntax for String.format
......................................................................

core: Incorrect syntax for String.format

Changed from '%s%s'  to '%2$s'

Change-Id: I18a62074802f87957e57bbc2307f8d801b3536aa
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(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/52/7852/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 9d5e212..53fd8cc 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
@@ -516,7 +516,7 @@
             if (cert == null) {
                 throw new KeyStoreException(
                     String.format(
-                        "Failed to find certificate store '%1$s' using alias 
'%2%s'",
+                        "Failed to find certificate store '%1$s' using alias 
'%2$s'",
                         keystoreFile,
                         alias
                     )
@@ -531,7 +531,7 @@
         catch (Exception e) {
             log.error(
                 String.format(
-                    "Failed to send own public key from store '%1$s' using 
alias '%2%s'",
+                    "Failed to send own public key from store '%1$s' using 
alias '%2$s'",
                     keystoreFile,
                     alias
                 ),


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18a62074802f87957e57bbc2307f8d801b3536aa
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