mirror of
https://github.com/apache/druid.git
synced 2025-02-17 07:25:02 +00:00
Merge pull request #7 from mashion/fix-zk-setup
Allow blank mysql passwords
This commit is contained in:
commit
aea00737b8
@ -64,8 +64,13 @@ public class ZkSetup
|
||||
private final String password;
|
||||
|
||||
{
|
||||
username = args[3].split(":")[0];
|
||||
password = args[3].split(":")[1];
|
||||
String[] splitArgs = args[3].split(":");
|
||||
username = splitArgs[0];
|
||||
if (splitArgs.length > 1) {
|
||||
password = splitArgs[1];
|
||||
} else {
|
||||
password = "";
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user