Browse Source

Fix typo in error log message, added missing space

Fix typo in error log message, added missing space

Author: nicolasguyomar <nicolas.guyomar@gmail.com>

Reviewers: phunt@apache.org

Closes #837 from nicolasguyomar/patch-1

Change-Id: I6ddf782aa1397908a436b57d709e4120104bb858
nicolasguyomar 6 years ago
parent
commit
d0b60bd3cb

+ 1 - 1
zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java

@@ -268,7 +268,7 @@ public abstract class ServerCnxnFactory {
             if (securityException != null && (loginContextName != null || jaasFile != null)) {
                 String errorMessage = "No JAAS configuration section named '" + serverSection +  "' was found";
                 if (jaasFile != null) {
-                    errorMessage += "in '" + jaasFile + "'.";
+                    errorMessage += " in '" + jaasFile + "'.";
                 }
                 if (loginContextName != null) {
                     errorMessage += " But " + ZooKeeperSaslServer.LOGIN_CONTEXT_NAME_KEY + " was set.";